Click or drag to resize
BadWordInfoProviderCanUseBadWords Method
Determines whether user can use bad words.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 9.0.0
Syntax
C#
public static bool CanUseBadWords(
	IUserInfo user,
	string siteName
)

Parameters

user
Type: CMS.BaseIUserInfo
User info object
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
True if user can use bad words.
See Also