Click or drag to resize
ChatUserHelperIsNicknameAvailable 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: 12.0.0
Syntax
C#
public static bool IsNicknameAvailable(
	string nickname,
	bool includeAnonymousUsers
)

Parameters

nickname
Type: SystemString
Required nickname
includeAnonymousUsers
Type: SystemBoolean
If true, also ONLINE anonymous users are checked for duplications. Otherwise only CMS Users.

Return Value

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