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.7.0.0 (1.7.0)

Syntax

C#
bool ContainsUserId(
	int userId
)

Parameters

userId
Type: System..::..Int32
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