ChatUserHelperHasChatUserPermission Method |
Checks if chat user has permission.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
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