Click or drag to resize

IUserManagerContainsUserName Method

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.8.0.0 (1.8.0)
Syntax
C#
bool ContainsUserName(
	string userName
)

Parameters

userName
Type: SystemString
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