BadWordsHelper.CheckBadWords Method (GeneralizedInfo, Dictionary<String, Int32>, Int32) |
Note: This API is now obsolete.
Performs bad words check.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.2.23
Syntax[ObsoleteAttribute("This method is obsolete. Use CheckBadWords(GeneralizedInfo obj, Dictionary<string, int> columns, int currentUserId, Func<bool> validate) instead.")]
public static string CheckBadWords(
GeneralizedInfo obj,
Dictionary<string, int> columns,
int currentUserId
)
Parameters
- obj
- Type: CMS.DataEngine.GeneralizedInfo
GeneralizedInfo 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. - currentUserId
- Type: System.Int32
ID of current user
Return Value
Type:
String
See Also