15.6. Adding a Role to a User

To associate a user with a role, use the command goldsh RoleUser Create:

goldsh RoleUser Create Role=<Role Name> Name=<User Name> [ShowUsage:=True]

Example 15-6. Adding a user to the Manager role

$ goldsh RoleUser Create Role=Manager Name=dave

Role    Name 
---------- ------ 
Manager dave 
Successfully created 1 RoleUser
        

Note

A user must first be defined to Gold before they can be added to a role (see Creating Users).