Adding a User to a Group by Updating the User

On Private Cloud Appliance, a user must be a member of at least one group to have access to any resources.

  • As an alternative to using the Users Compute Web UI page, you can use the Groups page as described in "Adding a User to a Group by Updating the Group."

    1. In the Compute Web UI navigation menu, select Identity, then select Users.

    2. Select the name of the user that you want to add to a group.

    3. On the details page for the user, scroll to the Resources section and select Groups.

    4. Select the Add User to Group button.

    5. In the Add User to Group dialog, select a group from the drop-down list, and then select the OK button.

      The user is added to the selected group.

  • Use the oci iam group add-user command to add the specified user to the specified group.

    oci iam group add-user --group-id group_OCID --user-id user_OCID

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the AddUserToGroup operation to add the specified user to the specified group.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.