ChatUserHelperIsNicknameAvailable Method (String, Boolean) |
Returns true if nickname is available. Otherwise false.
Current user is not counted.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntax 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:
BooleanTrue if nickname is available; otherwise false
See Also