Click or drag to resize
BadWordsHelperCheckBadWords Method (GeneralizedInfo, DictionaryString, Int32, String, String, String, Int32)

Note: This API is now obsolete.

Performs bad words check.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use CheckBadWords(GeneralizedInfo obj, Dictionary<string, int> columns, string approvalColumn, string approvalUserColumn, string reportTitle, int currentUserId, Func<bool> validate) instead.")]
public static string CheckBadWords(
	GeneralizedInfo obj,
	Dictionary<string, int> columns,
	string approvalColumn,
	string approvalUserColumn,
	string reportTitle,
	int currentUserId
)

Parameters

obj
Type: CMS.DataEngineGeneralizedInfo
Abstract info object
columns
Type: System.Collections.GenericDictionaryString, Int32
Columns to check (column name and column size). If columns size is zero, column has maximal size and will not checked.
approvalColumn
Type: SystemString
Approval column name
approvalUserColumn
Type: SystemString
Approval user column name
reportTitle
Type: SystemString
Abuse report title
currentUserId
Type: SystemInt32
ID of current user

Return Value

Type: String
See Also