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

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public static bool HasUserPermission(
	UserInfo user,
	ChatPermissionEnum permission
)

Parameters

user
Type: CMS.MembershipUserInfo
UserInfo to check for permission
permission
Type: CMS.ChatChatPermissionEnum
Permission to check

Return Value

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