Use the addGroupToBusConnectorRole command to add a group to the connector role for a local bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
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 addGroupToBusConnectorRole command to add a group to the bus connector role for a local bus. This command grants the group permission to connect to local destinations.
None.
None.
The following example adds a group with the group name Group1, and the unique name Group1 to the bus connector role for a bus called Bus1.
AdminTask.addGroupToBusConnectorRole ('[-bus Bus1 -group Group1 -uniqueName SalesGroup]')
The following example adds the Server group to the bus connector role for a bus called Bus1.
AdminTask.addGroupToBusConnectorRole ('[-bus Bus1 -group Server]')
The following example adds the AllAuthenticated group to the bus connector role for a bus called Bus1.
AdminTask.addGroupToBusConnectorRole ('[-bus Bus1 -group AllAuthenticated]')
The following example adds the Everyone group to the bus connector role for a bus called Bus1.
AdminTask.addGroupToBusConnectorRole ('[-bus Bus1 -group Everyone]')