ChatRoomUserInfoProvider CleanOnlineUsersInRooms Method Kentico 8.0 API Reference
Removes inactive users from all rooms.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

inactiveForSeconds
Type: OnlineSystem Int32
Number of seconds needed for user to be considered as inactive.
leaveSystemMessageFormat
Type: OnlineSystem String
Format of leave room system message. {nickname} will be replaced with actual user's nickname
leaveSystemMessageType
Type: CMS.Chat ChatMessageTypeEnum
Type of leave room system message.

Return Value

Type: OnlineInt32
Number of cleaned users
See Also