ChatProtectionHelper Class |
Namespace: CMS.Chat
public class ChatProtectionHelper : AbstractHelper<ChatProtectionHelper>
The ChatProtectionHelper type exposes the following members.
Name | Description | |
---|---|---|
ChatProtectionHelper |
Name | Description | |
---|---|---|
CheckNameForBadWords |
Throws ChatBadWordsException if there are some bad words in name.
| |
CheckNameForBadWordsInternal |
Throws ChatBadWordsException if there are some bad words in name.
| |
CheckOperationForFlooding |
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.
| |
CheckOperationForFloodingInternal |
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.
| |
HasCurrentUserPermission |
Checks if current user (CMSUser) has permission to perform specified chat-related action.
| |
HasCurrentUserPermissionInternal |
Checks if current user (CMSUser) has permission to perform specified chat-related action.
| |
HasUserPermission |
Checks if specified user (CMSUser) has permission to perform specified chat-related action.
| |
HasUserPermissionInternal |
Checks if specified user (CMSUser) has permission to perform specified chat-related action.
| |
IsSupportChatPanelEnabled |
Indicates whether support chat panel is enabled based on chat settings and user permissions.
| |
IsSupportChatPanelEnabledInternal |
Indicates whether support chat panel is enabled based on chat settings and user permissions.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |