Click or drag to resize

IUserManagerContainsUserId Method

Indicates whether a user exists in the local users list or not from the id.

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

Parameters

userId
Type: SystemInt32
The id of the user whose presence in the users list is to be tested.

Return Value

Type: Boolean
true if a user corresponding to the passed id exists in the users list.
See Also