Use the removeUserFromAllRoles command to remove a user from all access roles 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 application servers. Do not use it with earlier versions.
print AdminTask.help('SIBAdminBusSecurityCommands')
print AdminTask.help('command_name')
AdminConfig.save()
Use the removeUserFromAllRoles command to remove a user from all access roles for a local bus. This prevents the user from accessing the local bus.
None.
None.
None.
The following example removes a user called User1 from all roles for a local bus called Bus1.
AdminTask.removeUserFromAllRoles ('[-bus Bus1 -user User1]')