Bases: rucio.client.baseclient.BaseClient
Account client class for working with rucio accounts
Sends the request to create a new account.
| Parameters: | account – the name of the account. |
|---|---|
| Returns: | True if account was created successfully else False. |
| Raises Duplicate: | |
| if account already exists. | |
Adds a membership association between identity and account.
| Parameters: |
|
|---|
Sends the request to disable an account.
| Parameters: | account – the name of the account. |
|---|---|
| Returns: | True is account was disabled successfully. False otherwise. |
| Raises AccountNotFound: | |
| if account doesn’t exist. | |
Sends the request to get information about a given account.
| Parameters: | account – the name of the account. |
|---|---|
| Returns: | a list of attributes for the account. None if failure. |
| Raises AccountNotFound: | |
| if account doesn’t exist. | |
List the associated rules of an account.
| Parameters: | account – The account name. |
|---|
Sends the request to list all rucio accounts.
| Parameters: |
|
|---|---|
| Returns: | a list containing account info dictionary for all rucio accounts. |
| Raises AccountNotFound: | |
if account doesn’t exist. |
|