ChatOnlineUserInfoProvider Logout Method Kentico 8.0 API Reference
Logouts user from chat. User is also removed from all rooms where he is online now. Leave room system message is inserted to this room. Does nothing if this online user does not exists.

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

Parameters

siteID
Type: OnlineSystem Int32
Site ID
chatUserID
Type: OnlineSystem Int32
Chat user ID
leaveSystemMessageFormat
Type: OnlineSystem String
Format of system message. Placeholder {nickname} will be replaced by actual user's nickname. If null system message won't be inserted.
leaveSystemMessageType
Type: OnlineSystem Nullable ChatMessageTypeEnum 
Type of leave room system message (typically ChatMessageTypeEnum.LeaveRoom)
See Also