WebSphere WebSphere Application Server Network Deployment, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

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 these commands to list users and groups in destination roles.

The commands described in this topic are all run using 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
         -foreignBusRole 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
         -foreignBusRole foreignBusName
         -destination destinationName
         -role roleName}

Reference topic

Terms of Use | Feedback

Last updated: 15 Mar 2007
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\ref\rjr_dest_roles_list.html

© Copyright IBM Corporation 2004, 2007. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)