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: 9.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 dupications. Otherwise only CMS Users.
Return Value
Type:
BooleanTrue if nickname is availabe; otherwise false
See Also