Retrieves a User object from its id property.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
User GetUserById(
	int id
)

Parameters

id
Type: System..::..Int32
The id of the user to be found.

Return Value

Type: User
The object representing the user, or null if no user with the passed id exists in this Room.

See Also