Click or drag to resize
ChatRoomUserHelperIncreaseChatAdminLevel Method
Increases admin level of specified user in specified room to specified level. This means that admin level is changed only if current level of this user is lower than new one.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static void IncreaseChatAdminLevel(
	int chatRoomID,
	int chatUserID,
	AdminLevelEnum adminLevel
)

Parameters

chatRoomID
Type: SystemInt32
Room ID
chatUserID
Type: SystemInt32
Chat user ID
adminLevel
Type: CMS.ChatAdminLevelEnum
New admin level
See Also