Password Policy return codes


Enumerations

enum  DS_PasswordPolicyError {
  DS_PP_PASSWORD_EXPIRED = 0, DS_PP_ACCOUNT_LOCKED = 1, DS_PP_CHANGE_AFTER_RESET = 2, DS_PP_PASSWORD_MOD_NOT_ALLOWED = 3,
  DS_PP_MUST_SUPPLY_OLD_PASSWORD = 4, DS_PP_INSUFFICIENT_PASSWORD_QUALITY = 5, DS_PP_PASSWORD_TOO_SHORT = 6, DS_PP_PASSWORD_TOO_YOUNG = 7,
  DS_PP_PASSWORD_IN_HISTORY = 8, DS_PP_NO_ERROR = 65535
}

Detailed Description

See also:
DS_Indication_GetPasswordPolicyErrorCode

Enumeration Type Documentation

Password Policy return codes.

Enumerator:
DS_PP_PASSWORD_EXPIRED  The password has expired.
DS_PP_ACCOUNT_LOCKED  The account is locked.
DS_PP_CHANGE_AFTER_RESET  The password must now be changed.
DS_PP_PASSWORD_MOD_NOT_ALLOWED  The password cannot be changed.
DS_PP_MUST_SUPPLY_OLD_PASSWORD  The old password must be supplied when changing the password.
DS_PP_INSUFFICIENT_PASSWORD_QUALITY  The password is of insufficient quality.
DS_PP_PASSWORD_TOO_SHORT  The password is too short.
DS_PP_PASSWORD_TOO_YOUNG  The password is too young to change.
DS_PP_PASSWORD_IN_HISTORY  The password was used previously.
DS_PP_NO_ERROR  No error.

Definition at line 505 of file dsapi_const.h.

Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed