Click or drag to resize
ChatUserHelperHasChatUserPermission Method
Checks if chat user has permission.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax
C#
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: Boolean
True if user has permissions; otherwise false
See Also