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

By default, when security is enabled, you do not have access to a foreign service integration bus. Use these commands to list the users or groups currently in a Sender or IdentityAdopter role on a foreign bus.

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 Sender or IdentityAdopter role on a foreign bus, use the following command:
$AdminTask listUsersInForeignBusRole
         {-bus busName
         	-foreignBus foreignBusName
        	-role roleName}
Listing groups
To list the groups currently in a Sender or IdentityAdopter role on a foreign bus, use the following command:
$AdminTask listGroupsInForeignBusRole
        { -bus busName
         	-foreignBus foreignBusName
         	-role roleName}



Related tasks
Administering foreign bus roles through the command line
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 9:31:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rjr_fb_roles_list
File name: rjr_fb_roles_list.html