Assigning multicluster built-in user roles

You can assign a multicluster administrator role or a multicluster consumer administrator role to a user account.

Before you begin

Before you assign a user to a role, you must first create the account for the user as described in Creating multicluster user accounts.

About this task

You can assign a user role to a user account by using the egosh user assignrole command. You can also remove a user role from a user account by using the egosh user unassignrole command. For more information, see egosh user:

Procedure

  • To assign a user role, run the following command:
    egosh user assignrole -u user_account -r role -p consumer_name
    where:
    -u user_account
    Specifies the name of the user account to which you want to assign the role.
    -r role
    Specifies the role to assign.
    -p consumer_name
    (Optional) Specifies the consumer for which the role is assigned to the user account.
  • To unassign a user role, run the following command:
    egosh user unassignrole -u user_account -r role -p consumer_name
    where:
    -u user_account
    Specifies the user account for which you want to remove the role.
    -r role
    Specifies the role to remove.
    -p consumer_name
    (Optional) Specifies the consumer for which this role is removed from the user account.