2.2.9.3 SAM_VALIDATE_VALIDATION_STATUS
The SAM_VALIDATE_VALIDATION_STATUS enumeration defines policy evaluation outcomes.
-
typedef enum _SAM_VALIDATE_VALIDATION_STATUS { SamValidateSuccess = 0, SamValidatePasswordMustChange, SamValidateAccountLockedOut, SamValidatePasswordExpired, SamValidatePasswordIncorrect, SamValidatePasswordIsInHistory, SamValidatePasswordTooShort, SamValidatePasswordTooLong, SamValidatePasswordNotComplexEnough, SamValidatePasswordTooRecent, SamValidatePasswordFilterError } SAM_VALIDATE_VALIDATION_STATUS, *PSAM_VALIDATE_VALIDATION_STATUS;
SamValidateSuccess: Password validation succeeded.
SamValidatePasswordMustChange: The password must be changed.
SamValidateAccountLockedOut: The account is locked out.
SamValidatePasswordExpired: The password has expired.
SamValidatePasswordIncorrect: The password is incorrect.
SamValidatePasswordIsInHistory: The password is in the password history.
SamValidatePasswordTooShort: The password is too short.
SamValidatePasswordTooLong: The password is too long.
SamValidatePasswordNotComplexEnough: The password is not complex enough.
SamValidatePasswordTooRecent: The password was changed recently.
SamValidatePasswordFilterError: The password filter failed to validate the password.
See the message processing of SamrValidatePassword (section 3.1.5.13.7) for the semantic meanings of the enumeration values.