RoomState IsUserKicked Method (Int32, Int32 )Kentico 8.0 API Reference
Checks if the chat users specified by chatUserID is kicked from this room.

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

Parameters

chatUserID
Type: OnlineSystem Int32
ID of a chat room
forHowLong
Type: OnlineSystem Int32 
Specified how long must user wait till he can access room again.

Return Value

Type: OnlineBoolean
True if chat user was kicked.
See Also