Listing security roles for service integration using the wsadmin tool

When you are administering messaging security, use these commands to list the security roles that are associated with service integration bus destinations, foreign buses, topics within a topic space, users and groups.

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 all destinations with roles
To list all destinations that have roles defined for them, use the following command:
$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:
$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:
$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}



Related tasks
Administering authorization permissions
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=rjr_roles_list
File name: rjr_roles_list.html