Use these commands in wsadmin to add users and groups to destination roles for a local or foreign bus.
To grant a user or group access to a destination, add them to the appropriate destination role or roles. The allowed roles for a destination depend on the type of the destination as defined in Administering destination roles.
If you are specifying a destinationType that is either foreignDestination or alias, the foreign bus name that you specify must be the name of the foreign bus hosting the destination.
$AdminTask addUserToDestinationRole
{-type destinationType
-bus busName
-foreignBus foreignBusName
-destination destinationName
-role roleName
-user userName}
$AdminTask addGroupToDestinationRole
{-type destinationType
-bus busName
-foreignBus foreignBusName
-destination destinationName
-role roleName
-group groupName}
$AdminConfig save