InvalidPasswordReason Enum

Definition

Specifies the reason why password validation failed.

public enum class InvalidPasswordReason
public enum InvalidPasswordReason
type InvalidPasswordReason = 
Public Enum InvalidPasswordReason
Inheritance
InvalidPasswordReason

Fields

NoError 0

Validation passed. The password meets the computer or domain password requirements.

PasswordFilterError 4

Validation failed. The password does not meet the requirements of the password filter dynamic-link library (DLL).

PasswordNotComplexEnough 3

Validation failed. The password does not meet policy requirements because it is not complex enough.

PasswordTooLong 2

Validation failed. The password does not meet policy requirements because it is too long.

PasswordTooShort 1

Validation failed. The password does not meet policy requirements because it is too short.

UnknownError 5

Validation failed. The password policy cannot be determined. Validate the password with your own routine.

Remarks

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.

Applies to