myUserId

Availability:

Flash Player 7, 8
SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.myUserId

Description:

A number representing the current userId.
The id is assigned by the server each time a client connects successfully to it.
The variable is available only after a successfull login.

Parameters:

none      

Returns:

Nothing.

Example:

trace("My user ID is: " + smartFox.myUserId)

See also:

login()