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

◆ DS_PasswordPolicyError

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 411 of file dsapi_const.h.

@ DS_PP_MUST_SUPPLY_OLD_PASSWORD
Definition: dsapi_const.h:424
@ DS_PP_PASSWORD_MOD_NOT_ALLOWED
Definition: dsapi_const.h:421
@ DS_PP_PASSWORD_TOO_SHORT
Definition: dsapi_const.h:431
DS_PasswordPolicyError
Definition: dsapi_const.h:411
@ DS_PP_PASSWORD_IN_HISTORY
Definition: dsapi_const.h:437
@ DS_PP_NO_ERROR
Definition: dsapi_const.h:440
@ DS_PP_PASSWORD_EXPIRED
Definition: dsapi_const.h:412
@ DS_PP_CHANGE_AFTER_RESET
Definition: dsapi_const.h:418
@ DS_PP_PASSWORD_TOO_YOUNG
Definition: dsapi_const.h:434
@ DS_PP_ACCOUNT_LOCKED
Definition: dsapi_const.h:415
@ DS_PP_INSUFFICIENT_PASSWORD_QUALITY
Definition: dsapi_const.h:428

All rights reserved © 2002 - 2024 Isode Ltd.