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

Namespace: Sfs2X.Entities.Managers
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
bool ContainsUserName(
	string userName
)

Parameters

userName
Type: System..::..String
The name of the user whose presence in the users list is to be tested.

Return Value

Type: Boolean
true if a user with the passed name exists in the users list.

See Also