Click or drag to resize
ChatServiceSearchOnlineUsers Method
Search users who are online globally on a chat (they are performing Ping()) and meet condition (their nickname contains nickname.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public ChatGeneralResponse<IEnumerable<OnlineUserData>> SearchOnlineUsers(
	string nickname,
	int topN,
	Nullable<int> invitedToRoomID
)

Parameters

nickname
Type: SystemString
Searches for users with this nickname
topN
Type: SystemInt32
Returns this number of found users
invitedToRoomID
Type: SystemNullableInt32
If not null, only users who can be invited to this room will be returned

Return Value

Type: ChatGeneralResponseIEnumerableOnlineUserData
Online users

Implements

IChatServiceSearchOnlineUsers(String, Int32, NullableInt32)
See Also