WebSphere WebSphere Application Server Express, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Adding users and groups to destination roles

Use these commands in wsadmin to add users and groups to destination roles for a local or foreign bus.

Why and when to perform this task

To grant a user or group access to a destination, add them to the appropriate destination role or roles. The allowed roles for a destination depend on the type of the destination as defined in Administering destination roles.

If you are specifying a destinationType that is either foreignDestination or alias, the foreign bus name that you specify must be the name of the foreign bus hosting the destination.

Adding a user
To add a user to a destination role on a local or foreign bus, use the following command in wsadmin:
$AdminTask addUserToDestinationRole
        {-type destinationType
         -bus busName
         -foreignBus foreignBusName
         -destination destinationName
         -role roleName
         -user userName}
Adding a group
To add a group to a destination role on a local or foreign bus, use the following command in wsadmin:
$AdminTask addGroupToDestinationRole
        {-type destinationType
         -bus busName
         -foreignBus foreignBusName
         -destination destinationName
         -role roleName
         -group groupName}
After using these commands, save your changes to the master configuration; for example, by using the following command in wsadmin:
 $AdminConfig save
Related tasks
Adding users and groups to default roles

Task topic

Terms of Use | Feedback

Last updated: 2 Aug 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.express.doc\tasks\tjr0280_.html

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