To grant a user or group access to a service integration bus destination, you add them to the appropriate destination role or roles. Use the listUsersInDestinationRole and listGroupsInDestinationRole commands to list users and groups in destination roles.
To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.
wsadmin> $AdminTask help SIBAdminCommands
wsadmin> $AdminTask help command_name
$AdminTask listUsersInDestinationRole
{-type destinationType
-bus busName
-foreignBus foreignBusName
-destination destinationName
-role roleName}
$AdminTask listGroupsInDestinationRole
{ -type destinationType
-bus busName
-foreignBus foreignBusName
-destination destinationName
-role roleName}