IChatService SearchOnlineUsers Method Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Parameters

nickname
Type: OnlineSystem String
Searches for users with this nickname
topN
Type: OnlineSystem Int32
Returns this number of found users
invitedToRoomID
Type: OnlineSystem Nullable OnlineInt32 
If not null, only users who can be invited to this room will be returned

Return Value

Type: ChatGeneralResponse OnlineIEnumerable OnlineUserData  
Online users
See Also