Click or drag to resize
SecurityHelperCheckPasswordPolicy Method (String, String)
Check password policy for specified password

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool CheckPasswordPolicy(
	string password,
	string siteName
)

Parameters

password
Type: SystemString
Password to check for policy fulfillment
siteName
Type: SystemString
Name of site containing policy to be met

Return Value

Type: Boolean
True if policy met, false otherwise
See Also