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

Listing roles

Use these commands in wsadmin to list roles when you are administering messaging security.

Listing all destinations with roles
To list all destinations that have roles defined for them, use the following command in wsadmin:
$AdminTask listAllDestinationsWithRoles
         -bus busname
         -type destinationType
Listing all foreign buses with roles
To list all foreign buses that have roles defined for them, use the following command in wsadmin:
$AdminTask listAllForeignBusesWithRoles {-bus busname}
Listing all topics within a topic space with roles
To list all topics within a topic space that have roles defined for them, use the following command in wsadmin:
$AdminTask listAllTopicsWithRoles {-bus busname -topicSpace topicSpaceName}
Listing a user's roles
To list all the roles that a user belongs to, use the following command in wsadmin:
$AdminTask listAllRolesForUser {-bus busname -user userName}
Listing a group's roles
To list all the roles that a group belongs to, use the following command in wsadmin:
$AdminTask listAllRolesForGroup {-bus busname -group groupName}
After using these commands, save your changes to the master configuration; for example, by using the following command in wsadmin:
 $AdminConfig save

Task topic

Terms of Use | Feedback

Last updated: 5 Oct 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\tasks\tjr0050_.html

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