To introduce an additional level of access permission within a topic space, use these commands to add the users or groups to Sender or Receiver roles at any level in the topic hierarchy that they need to access.
To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.
The wsadmin scripting client is run from
Qshell. For more information, see the topic "Configure Qshell to
run WebSphere® Application
Server scripts".
These commands are only valid when
used with WebSphere Application
Server Version 6 and later application servers. Do not use them with
earlier versions.
Command-line help is provided
for service integration bus commands:
wsadmin> $AdminTask help SIBAdminCommands
wsadmin> $AdminTask help command_name
$AdminTask addUserToTopicRole
{-bus busName
-topicSpace topicSpaceName
-topic topicName
-role roleName
-user userName}
$AdminTask addGroupToTopicRole
{-bus busName
-topicSpace topicSpaceName
-topic topicName
-role roleName
-group groupName}
$AdminConfig save