Skip to main content

Reset Expire Password

Sets the password for an account to a new value. This function will also expire the new password.

Signature: def resetexpirepw(cinfo)

Parameters:

  • cinfo['acctid'] - The account the password should be reset and expired on

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

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

  • ACOperationNotSupported 2

  • ACInvalidUser 7