ChatUserHelper VerifyChatUserHasJoinRoomRights Method Kentico 8.1 API Reference
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.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

roomID
Type: OnlineSystem Int32
Rights for this room will be checked
See Also