Fuzzball Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Adding Users to Accounts

In order to add users to an account, you will need organization owner or account owner permissions. Users can be added to an account using either the web UI or the CLI. Follow the instructions for your preferred method below.

Please select either the web UI or CLI tab to see the appropriate instructions for your environment.

Prerequisites

Before adding users to accounts via the web UI, ensure you have:

Adding Users to Accounts

  1. Log into your Fuzzball UI as an organization owner or account owner

  2. Click on the Gear icon in the top right of the dashboard header and select Manage organization

    Manage organization menu

  3. Navigate to the Accounts section in the left toolbar

    Accounts section

  4. Select the test-account1 account from the list

    Accounts section - selected account

  5. Click Add User - users that are already part of the organization will be available in the dropdown menu. Select the user and choose their role (Member or Owner), then click Add

    Add user to account

  6. After adding the user to the account the user will appear in the appropriate tab for the account (Members in our example)

    User added to account

Prerequisites

  • Users already added to the organization (see Adding Users to Organizations)
  • Organization owner or account owner permissions
  • Fuzzball CLI with a context configured for the admin user
  • User ID of the user to add and account ID

Getting Required Information

Getting the User ID

To obtain the user ID, use the Fuzzball organization CLI subcommands list-members or list-owners as appropriate:

$ fuzzball organization list-members
NAME              | ID                                   | CREATED TIME          | LAST UPDATED          | LAST ACTIVE
user2@example.com | 333360aa-c5e4-40e0-8064-f6ac7aa012ab | 2024-07-10 12:10:39AM | 2024-07-10 12:10:39AM | 2024-07-10 12:10:39AM
user3@example.com | dc7b2584-9895-4d9d-8a49-c8b90f9d726b | 2024-07-10 12:19:14AM | 2024-07-10 12:19:14AM | 2024-07-10 12:19:14AM
user@example.com  | f5ce6b0f-03fe-4ce2-a792-e3c5f41e1e5b | 2024-07-03 09:38:36PM | 2024-07-09 09:43:07PM | 2024-07-09 10:32:54PM

Getting the Account ID

To obtain the account ID, use the Fuzzball account CLI subcommand list:

$ fuzzball account list
SELECTED | NAME                         | ID                                   | CREATED TIME          | LAST UPDATED
         | User Account (admin@ciq.com) | 06559942-1f88-4c99-93c5-2dfb1537d355 | 2024-06-19 12:51:29PM | 2024-06-19 12:51:29PM
    *    | default                      | 2ec072f6-7ab2-42fc-acce-5fc0912ce3b0 | 2024-07-03 09:38:14PM | 2024-07-03 09:38:14PM
         | test-account1                | 324fe14b-1008-4c2d-8e07-e7136c7db38f | 2024-07-09 10:18:18PM | 2024-07-09 10:18:18PM

Adding Users as Account Owners

To add a user as an account owner, use the Fuzzball account CLI subcommand add-owner. The user ID is provided as an argument and the account ID is provided with the --account/-a flag:

$ fuzzball account add-owner 333360aa-c5e4-40e0-8064-f6ac7aa012ab \
    --account 324fe14b-1008-4c2d-8e07-e7136c7db38f
Added owner: user2@example.com to account: 324fe14b-1008-4c2d-8e07-e7136c7db38f

Adding Users as Account Members

To add a user as an account member, use the Fuzzball account CLI subcommand add-member. The user ID is provided as an argument and the account ID is provided with the --account/-a flag:

$ fuzzball account add-member dc7b2584-9895-4d9d-8a49-c8b90f9d726b \
    --account 324fe14b-1008-4c2d-8e07-e7136c7db38f
Added member: user3@example.com to account: 324fe14b-1008-4c2d-8e07-e7136c7db38f