Click or drag to resize
IChatServiceKickUser Method
Kicks a chat user from a room. Currently logged user must be an admin to kick another user.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
ChatGeneralResponse KickUser(
	int roomID,
	int chatUserToKickID
)

Parameters

roomID
Type: SystemInt32
User will be kicked from this room.
chatUserToKickID
Type: SystemInt32
ID of user to kick

Return Value

Type: ChatGeneralResponse
ChatGeneralResponse (code OK if everything went fine)
See Also