Click or drag to resize
IPasswordPolicyValidatePassword Method
Validates conformance to a custom password policy. This is typically used when a user sets or changes his password.

Namespace: PDTec.IceNet.Domain.UserManagement
Assembly: PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
bool ValidatePassword(
	string password,
	out string message
)

Parameters

password
Type: SystemString
The password candidate.
message
Type: SystemString
In case of error, the reason for failure. Otherwise empty.

Return Value

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