Click or drag to resize
ChatProtectionHelperCheckNameForBadWords Method
Throws ChatBadWordsException if there are some bad words in name.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static void CheckNameForBadWords(
	string name
)

Parameters

name
Type: SystemString
Name to be checked for bad words
Exceptions
ExceptionCondition
ChatBadWordsExceptionThrows ChatBadWordsException when bad word is found.
See Also