Listing users and groups in bus destination roles using the wsadmin tool

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.

Commands

Listing users
To list the users currently in a destination role, use the following command in wsadmin:
$AdminTask listUsersInDestinationRole
         {-type destinationType
         -bus busName
         -foreignBus foreignBusName
         -destination destinationName
         -role roleName}
Listing groups
To list the groups currently in a destination role, use the following command:
$AdminTask listGroupsInDestinationRole
        { -type destinationType
         -bus busName
         -foreignBus foreignBusName
         -destination destinationName
         -role roleName}



Related tasks
Administering destination roles through the command line
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=rjr_dest_roles_list
File name: rjr_dest_roles_list.html