Use the listUsersInTopicRole command to list users in the topic roles within a specified topic space.
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 listUsersInTopicRole command to list users in the topic roles for a selected topic in the topic hierarchy for a selected local bus.
None.
None.
The following example lists the users in the Sender role for a topic called football, in the topic space called Sport, on a local bus called Bus1.
AdminTask.listUsersInTopicRole ('[-bus Bus1 -topicSpace Sport -topic football -role Sender]')