Performs bad words check.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- obj
- Type: CMS.DataEngine GeneralizedInfo
Abstract info object
- columns
- Type: System.Collections.Generic Dictionary String, Int32
Columns to check (column name and column size). If columns size is zero, column has maximal size and will not checked.
- approvalColumn
- Type: System String
Approval column name
- approvalUserColumn
- Type: System String
Approval user column name
- reportTitle
- Type: System String
Abuse report title
- currentUserId
- Type: System Int32
ID of current user
- validate
- Type: System Func Boolean
Function performing validation of checked object after respective bad words are removed. No further processing is done when validation fails.
Return Value
Type: StringSee Also