ChatUserHelper IsNicknameAvailable Method (String, Boolean)Kentico 8.1 API Reference
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.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

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