listUsersInTopicRole command
Use the listUsersInTopicRole command to list users in the topic roles within a specified topic space.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
O cliente de script wsadmin é executado do Qshell.
Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.
Esse comando é válido apenas quando utilizado com servidores de aplicativos WebSphere® Application Server Versão 7.0 ou posterior. Não o utilize com versões anteriores.
- Para obter uma lista dos comandos de segurança do barramento de integração de
serviços disponíveis no Jython e uma breve descrição de cada comando, digite o seguinte
comando no prompt wsadmin:
print AdminTask.help('SIBAdminBusSecurityCommands')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
Use the listUsersInTopicRole command to list users in the topic roles for a selected topic in the topic hierarchy for a selected local bus.
Target object
None.
Required parameters
- -bus busName
- The name of the local bus. You can use the listSIBuses command to list the names of existing buses.
- -topicSpace topicSpaceName
- The name of the topic space.
- -topic topicName
- The name of the topic.
- -role roleType
- You can specify the Sender or Receiver roles for a topic.
Conditional parameters
None.
Optional parameters
- -showUniqueNames TRUE | FALSE
- Whether to display unique names. This parameter has two possible
values:
- TRUE
- Unique names are displayed.
- FALSE
- Security names are displayed.
Example
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]')