Removing users and groups using the wsadmin tool

Use these commands to remove a user or group. Removing a user or group withdraws the authorization permissions for all roles to which they have previously been added.

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.

Commands

Removing a user
To remove a user from all the roles that they belong to, use the following command:
$AdminTask removeUserFromAllRoles
         {-bus busname
         -user userName}
Removing a group
To remove a group from all the roles that it belongs to, use the following command:
$AdminTask removeGroupFromAllRoles
         {-bus busname
         -group groupName}
After using these commands, save your changes to the master configuration; for example, by using the following command:
 $AdminConfig save



Related tasks
Administering authorization permissions
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 7:21:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-dist&topic=rjr_usr_gp_remove
File name: rjr_usr_gp_remove.html