ChatUserInfoProvider GetCountOfChatUsers Method Kentico 8.0 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.0.5239.26125)

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