Click or drag to resize
ChatRoomUserHelperKickUserFromRoom Method
Kicks user from this room. His KickExpiration is set to DateTime.Now + number of seconds specified in settings.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntax
C#
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