listUsersInForeignBusRole command
Use the listUsersInForeignBusRole command to list users that can send messages from a local bus to a foreign bus.
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 listUsersInForeignBusRole command to list all the users that can send messages from a selected local bus to a selected foreign 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.
- -foreignBus foreignBusName
- The name of the foreign bus.
- -role Sender
- You can specify the Sender role only for a foreign bus.
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 users in the Sender role for a foreign bus called ForeignBus1. The local bus is called Bus1.
AdminTask.listUsersInForeignBusRole ('[-bus Bus1 -foreignBus ForeignBus1 -role Sender],)