WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Removing users and groups from topic space root roles using the wsadmin tool

To remove a user or group's permission to access a topic space, use these commands to remove the user or group from roles on the topic space root.

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.

For i5/OS platforms The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".

For i5/OS platforms These commands are only valid when used with WebSphere Application Server Version 6 and later application servers. Do not use them with earlier versions.

For i5/OS platforms Command-line help is provided for service integration bus commands:

Commands

Removing a user
To remove a user from a topic space root role, use the following command:
$AdminTask removeUserFromTopicSpaceRootRole
         {-bus busName
         	-topicSpace topicSpaceName
         	-role roleName
         	-user userName}
Removing a group
To remove a group from a topic space root role, use the following command:
$AdminTask removeGroupFromTopicSpaceRootRole
         {	-bus busName
         	-topicSpace topicSpaceName
         	-role roleName
         	-group groupName}
After using these commands, save your changes to the master configuration; for example, by using the following command:
 $AdminConfig save

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/ref/rjr_topic_root_delete.html

Copyright IBM Corporation 2004, 2009. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)