BadWordInfoProvider CheckAllBadWords Method (String, String, GeneralizedInfo, Dictionary String, Int32 , Hashtable)Kentico 8.0 API Reference
Checks given text for all bad words.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

cultureCode
Type: OnlineSystem String
Code of culture
siteName
Type: OnlineSystem String
Site name
infoObject
Type: CMS.DataEngine GeneralizedInfo
Object info
columns
Type: OnlineSystem.Collections.Generic Dictionary OnlineString, OnlineInt32 
Columns to check (column name and column size). If columns size is zero, column has maximal size and will not checked.
foundWords
Type: OnlineSystem.Collections Hashtable
Found words

Return Value

Type: BadWordActionEnum
What action should be performed and modified text through the text parameter.
See Also