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: 8.2.23
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 dupications. Otherwise only CMS Users.

Return Value

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