InvalidPasswordReason Enumeration
Specifies the reason why password validation failed.
Assembly: Microsoft.Web.Management (in Microsoft.Web.Management.dll)
| Member name | Description | |
|---|---|---|
| NoError | Validation passed. The password meets the computer or domain password requirements. | |
| PasswordFilterError | Validation failed. The password does not meet the requirements of the password filter dynamic-link library (DLL). | |
| PasswordNotComplexEnough | Validation failed. The password does not meet policy requirements because it is not complex enough. | |
| PasswordTooLong | Validation failed. The password does not meet policy requirements because it is too long. | |
| PasswordTooShort | Validation failed. The password does not meet policy requirements because it is too short. | |
| UnknownError | Validation failed. The password policy cannot be determined. Validate the password with your own routine. |
When you attempt to create or change a password, the password is validated to the password policy requirements. This enumeration specifies the reason for the validation failure.