Click or drag to resize

UserManagementUtilsValidatePasswordPolicy Method

Checks if a password conforms to the configured password policy. Optionally checks against a custom IPasswordPolicy class.

Namespace:  PDTec.IceNet.Domain.UserManagement
Assembly:  PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static bool ValidatePasswordPolicy(
	IDatabaseRepository pRepository,
	string password,
	out string message
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
password
Type: SystemString
The password.
message
Type: SystemString
In case of policy violations this parameter contains a friendly message.

Return Value

Type: Boolean
true if the password conforms to the policy, false otherwise.
See Also