Click or drag to resize
ChatUserInfoProviderGetCountOfChatUsers Method
Checks number of nickname usages. This method compares incasesensitive.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax
C#
public static int GetCountOfChatUsers(
	string nickname,
	bool includeAnonyms,
	Nullable<int> excludeChatUserID
)

Parameters

nickname
Type: SystemString
Nickname to find
includeAnonyms
Type: SystemBoolean
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: SystemNullableInt32
User with this ID won't be counted

Return Value

Type: Int32
Count
See Also