ChatUserHelperVerifyChatUserHasJoinRoomRights Method |
Verifies that currently logged in chat user has join rights for a room.
Throws exception with AccessDenied (or Kicked) type and message set to the cause of the denial in case of failure and does nothing in case of success.
Join rights:
- user can't be kicked
- if room is public, user always has Join rights
- if he is admin, he also has join rights
- supporters always have Join rights in support rooms
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax public static void VerifyChatUserHasJoinRoomRights(
int roomID
)
Parameters
- roomID
- Type: SystemInt32
Rights for this room will be checked
See Also