Click or drag to resize
ChatProtectionHelperHasCurrentUserPermissionInternal Method
Checks if current user (CMSUser) has permission to perform specified chat-related action.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
protected virtual bool HasCurrentUserPermissionInternal(
	ChatPermissionEnum permission
)

Parameters

permission
Type: CMS.ChatChatPermissionEnum
Permission to check

Return Value

Type: Boolean
True if user has permission, otherwise false
See Also