ChatRoomUserInfoProviderIncreaseChatAdminLevel 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.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntaxpublic 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