ChatUserInfoProvider GetCountOfChatUsers Method Kentico 8.1 API Reference
Checks number of nickname usages. This method compares incasesensitive.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

nickname
Type: OnlineSystem String
Nickname to find
includeAnonyms
Type: OnlineSystem Boolean
If set true, count of non-anonymous and anonymous users will be returned. If false, only non-anonymous user nicknames will be counted
excludeChatUserID
Type: OnlineSystem Nullable OnlineInt32 
User with this ID won't be counted

Return Value

Type: OnlineInt32
Count
See Also