Use the listGroupsInDefaultRole command to list the groups 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 listGroupsInDefaultRole command to list the groups in the default roles for a selected local bus.
None.
None.
The following example lists the groups in the Sender role for a bus called Bus1.
AdminTask.listGroupsInDefaultRole ('[-bus Bus1 -role Sender]')