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: 7.2.0.0 (7.2.7583.15464)
Syntax 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:
Booleantrue if the password conforms to the custom policy,
false otherwise.
See Also