enum PasswordState

The states of a password.

References from:
UserAccount;

0
VALID
The password is valid based on system time, password changed time, and aging policy.
1
EXPIRED_MUSTCHANGE
The password is expired based on system time, password changed time, and aging policy.

The user is forced to change password at next login.
2
EXPIRED
The password is expired based on system time, password changed time, and aging policy.

The password must be reset by the MS.
  enum PasswordState