Use the listUsersInDefaultRole command to list users in the default roles for a local bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere Application Server scripts using wsadmin scripting .
This command is valid only when used with WebSphere® Application Server Version 7.0 or later application servers. Do not use it with earlier versions.
print AdminTask.help('SIBAdminBusSecurityCommands')
print AdminTask.help('command_name')
AdminConfig.save()
Use the listUsersInDefaultRole command to list all the users in the default roles for a selected local bus.
None.
None.
The following example lists users in the Sender role type for a bus called Bus1.
AdminTask.listUsersInDefaultRole ('[-bus Bus1 -role Sender]')