IChatServiceSearchOnlineUsers Method |
Search users who are online globally on a chat (they are performing Ping()) and meet condition (their nickname contains nickname.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax 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:
ChatGeneralResponseIEnumerableOnlineUserDataOnline users
See Also