InvalidPasswordReason Enumeration

InvalidPasswordReason Enumeration

IIS 7.0
 

Specifies the reason why password validation failed.

Namespace:   Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public enum InvalidPasswordReason

Member nameDescription
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.

Return to top
Show:
© 2016 Microsoft