Skip to main content

Change Password

Verifies the old password for an account, if successful the password is then changed to a new value.

Signature: change(cinfo)

Parameters:

  • cinfo['acctid'] - The account the password should be changed on

  • cinfo['newpw'] - The new password that should be set

  • cinfo['oldpw'] - The old password that should be verified

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

  • ACOperationNotSupported 2

  • ACInvalidUser 7

  • ACAccessDenied 11

  • ACVerifyFailed 14

  • ACPasswordLocked 26

  • ACPasswordExpired 27

  • ACAccountExpired 28

  • ACAccountDisabled 29