Use the addUserToBusConnectorRole command to add a user to the connector role for a local bus.
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 addUserToBusConnectorRole command to add a user to the bus connector role for a local bus. This command grants the user permission to connect to local destinations.
None.
None.
The following example adds a user called User1 to the bus connector role for a bus called Bus1.
AdminTask.addUserToBusConnectorRole ('[-bus Bus1 -user User1]')