ChatRoomUserHelperKickUserFromRoom Method |
Kicks user from this room. His KickExpiration is set to DateTime.Now + number of seconds specified in settings.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static void KickUserFromRoom(
int roomID,
ChatUserInfo chatUserToKick,
ChatUserInfo kicker
)
Parameters
- roomID
- Type: SystemInt32
Room ID - chatUserToKick
- Type: CMS.ChatChatUserInfo
Chat user to kick - kicker
- Type: CMS.ChatChatUserInfo
Kicker (used to insert system message)
See Also