Skip to main content

Verify Reset Password

Validates if a password is valid for a specified account, resetting the password if it is not. This function will also unlock the account and unexpire the password if required.

Signature: verifyreset(cinfo)

Parameters:

  • cinfo['acctid'] - The account to be performing the password operations on

  • cinfo['newpw'] - The password to be verified and set

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

  • ACOperationNotSupported 2

  • ACInvalidUser 7

  • ACAccessDenied 11

  • ACVerifyFailed 14

  • ACPasswordLocked 26

  • ACPasswordExpired 27

  • ACAccountExpired 28

  • ACAccountDisabled 29

Remarks:

If this operation is not defined other operations will be automatically called instead. The priority for fallback operations is:

  • adminverify operation, followed by a reset operation if the password fails to be verified

  • verify operation, followed by a reset operation if the password fails to be verified and the adminverify operation is not defined

  • reset operation, if neither the verify operation nor the adminverify operation is defined