ChatUserHelper IsNicknameAvailable Method (String, Boolean)Kentico 8.0 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.0.5239.26125)

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