ChatUserHelperHasChatUserPermission Method |
Checks if chat user has permission.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static bool HasChatUserPermission(
ChatUserInfo chatUser,
ChatPermissionEnum permission
)
Parameters
- chatUser
- Type: CMS.ChatChatUserInfo
Chat user to check - permission
- Type: CMS.ChatChatPermissionEnum
Permission to check
Return Value
Type:
BooleanTrue if user has permissions; otherwise false
See Also