Skip to main content

Disable Account

Disables an account.

Signature: def disable(cinfo)

Parameters:

  • cinfo['acctid'] - The account that should be disabled

Return Value:

  • ACSuccess 0

  • ACUnknownError 1

  • ACOperationNotSupported 2

  • ACInvalidUser 7

Remarks:

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