removeUserFromForeignBusRole command
Use the removeUserFromForeignBusRole command to remove a user from the sender role for 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 removeUserFromForeignBusRole command to remove a user from the sender role for a foreign bus. This prevents the user from sending messages from a local bus to a 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 only specify the Sender role for a foreign bus.
- -user userName or uniqueName
- The name of a user you want to remove from the sender role for
a foreign bus. You can type one of the following names:
- A security user name
- A unique user name.
Conditional parameters
None.
Optional parameters
None.
Examples
The following example removes a user called User1 from the Sender role for a foreign bus called ForeignBus1. The local bus is called Bus1.
AdminTask.removeUserFromForeignBusRole ('[-bus Bus1 -ForeignBus ForeignBus1 -role Sender -user User1]')