removeUserFromTopicRole command
Use the removeUserFromTopicRole command to remove a user from a topic role 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 removeUserFromTopicRole command to remove a user from the sender or receiver roles for a topic anywhere in the topic hierarchy for a local bus. Removing a user from topic roles prevents the user from accessing the topic space in the topic roles.
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.
- -user userName or uniqueName
- The name of a user you want to remove from the topic roles for
the local 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 topic called football, in the topic space called Sport, on a local bus called Bus1.
AdminTask.removeUserFromTopicRole ('[-bus Bus1 -topicSpace Sport
-topic football -role Sender -user User1]')