Click or drag to resize
ChatProtectionHelper Class
Provides methods for chat protection.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperChatProtectionHelper
        CMS.ChatChatProtectionHelper

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntax
C#
public class ChatProtectionHelper : AbstractHelper<ChatProtectionHelper>

The ChatProtectionHelper type exposes the following members.

Constructors
  NameDescription
Public methodChatProtectionHelper
Top
Methods
  NameDescription
Public methodStatic memberHasCurrentUserPermission
Checks if current user (CMSUser) has permission to perform specified chat-related action.
Protected methodHasCurrentUserPermissionInternal
Checks if current user (CMSUser) has permission to perform specified chat-related action.
Public methodStatic memberHasUserPermission
Checks if specified user (CMSUser) has permission to perform specified chat-related action.
Protected methodHasUserPermissionInternal
Checks if specified user (CMSUser) has permission to perform specified chat-related action.
Public methodStatic memberCheckNameForBadWords
Throws ChatBadWordsException if there are some bad words in name.
Protected methodCheckNameForBadWordsInternal
Throws ChatBadWordsException if there are some bad words in name.
Public methodStatic memberCheckOperationForFlooding
Checks if specified operation happened too early after the previous call. If it happened too early (earlier than timespan specified in settings), it is considered as flooding and operation should be stopped.
Protected methodCheckOperationForFloodingInternal
Checks if specified operation happened too early after the previous call. If it happened too early (earlier than timespan specified in settings), it is considered as flooding and operation should be stopped.
Public methodStatic memberIsSupportChatPanelEnabled
Indicates whether support chat panel is enabled based on chat settings and user permissions.
Protected methodIsSupportChatPanelEnabledInternal
Indicates whether support chat panel is enabled based on chat settings and user permissions.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also