ChatHelperHasCurrentUserPermission Method |
Checks if current user (CMSUser) has permission to perform specified chat-related action.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static bool HasCurrentUserPermission(
ChatPermissionEnum permission
)
Parameters
- permission
- Type: CMS.ChatChatPermissionEnum
Permission to check
Return Value
Type:
BooleanTrue if user has permission, otherwise false
See Also