Use the listGroupsInTopicRole command to list the groups in topic roles for a topic space on 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 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 listGroupsInTopicRole command to list the groups in topic roles for a selected topic in the topic hierarchy for a selected local bus.
You can use this command to define the access control policy for a topic that does not yet exist.None.
None.
The following example lists the groups in the Sender role for a topic called football, in the topic space called Sport, on a local bus called Bus1.
listGroupsInTopicRole { -bus Bus1 -topicSpace Sport -topic football -role Sender}