ChatUserHelperCheckJoinRoomRights Method |
Checks if current chat user has Join rights to the specified room.
- 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: 8.2.23
Syntax public static bool CheckJoinRoomRights(
int roomID
)
Parameters
- roomID
- Type: SystemInt32
Rights for this room will be checked
Return Value
Type:
BooleanTrue if current chat user has join permissions to specified room (join permissions means, that he can enter it, etc.).
See Also