Click or drag to resize

SFSUserManagerGetUserById Method

Retrieves a User object from its id property.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public User GetUserById(
	int userId
)

Parameters

userId
Type: SystemInt32
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 the local users list.

Implements

IUserManagerGetUserById(Int32)
See Also