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: 13.0.131
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