Click or drag to resize
ChatUserHelper.IsNicknameAvailable Method (String, Boolean)
Returns true if nickname is available. Otherwise false. Current user is not counted.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax
C#
public static bool IsNicknameAvailable(
	string nickname,
	bool includeAnonymousUsers
)

Parameters

nickname
Type: System.String
Required nickname
includeAnonymousUsers
Type: System.Boolean
If true, also ONLINE anonymous users are checked for dupications. Otherwise only CMS Users.

Return Value

Type: Boolean
True if nickname is availabe; otherwise false
See Also