Use these commands in wsadmin to add users and groups to default
roles.
To grant a user or group default access to all local destinations,
add them to the appropriate default role or roles. Adding a user or group
to any of the default roles grants them the relevant type of permission for
that role for all the local destinations that are allowed to inherit defaults.
Tip: Adding a user or group to a default role does not allow them to
access any local destinations that have inheritance of defaults disallowed.
To give a user or group permission to access a local destination where inheritance
is disallowed, you must add this user or group to the role that gives them
the required permission for the specific local destination as described in
Adding users and groups to destination roles.
- Adding a user
- To add a user to a default role, use the following command in wsadmin:
$AdminTask addUserToDefaultRole {-bus busName -role roleName -user userName}
- Adding a group
- To add a group to a default role, use the following command in wsadmin:
$AdminTask addGroupToDefaultRole {-bus busName -role roleName -group groupName}
After using these commands, save your changes to the master
configuration; for example, by using the following command in wsadmin:
$AdminConfig save