_server.getUserById()

Availability:

SmartFoxServer PRO 1.2.1

Usage:

_server.getUserById(id)

Description:

Return the User object from the numeric user id

Properties:

id   the user id

Returns:

The User object

Example:

// Get the User object from its Id
var user = _server.getUserById(100)

See also: