getMyUserId()

Availability:

SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.getMyUserId()

Description:

An integer 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:

Returns an integer representing the current userId.

Example:

put("My user ID is: " & smartFox.getMyUserId())

See also:

login()