Listing users and groups in default roles using the wsadmin tool

Users or groups that are in any of the default roles have the authorization permissions for that role for all the local service integration bus destinations that are allowed to inherit defaults. Use these commands to list the users and groups that are in default 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.

[iSeries] The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere® Application Server scripts".

[iSeries] These commands are only valid when used with WebSphere Application Server Version 6 and later application servers. Do not use them with earlier versions.

[iSeries] Command-line help is provided for service integration bus commands:

Commands

Listing users
To list the users in a default role, use the following command:
$AdminTask listUsersInDefaultRole {-bus busName -role roleName}
Listing groups
To list the groups in a default role, use the following command:
$AdminTask listGroupsInDefaultRole {-bus busName -role roleName}



Related tasks
Administering default roles through the command line
Reference topic    

Terms of Use | Feedback

Last updated: Feb 19, 2011 5:25:36 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v610web&product=was-nd-mp&topic=rjr_default_roles_list
File name: rjr_default_roles_list.html