Skip to main content

Expire Account

Expires an account

Signature: def expireacct(cinfo)

Parameters:

  • cinfo['acctid'] - The account to be expired

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

  • ACOperationNotSupported 2

  • ACInvalidUser 7

Remarks:

If the account is already expired before doing any modifications, the function should return ACSuccess.