Use the removeGroupFromDefaultRole command from remove a user from the default roles for a local bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting .
This command is valid only when used with WebSphere® Application Server Version 7.0 or later application servers. Do not use it with earlier versions.
print AdminTask.help('SIBAdminBusSecurityCommands')
print AdminTask.help('command_name')
AdminConfig.save()
Use the removeUserFromDefaultRole command to remove user from default roles for a local bus. Removing a user from the default roles prevents access to the local bus in the default roles.
None.
None.
None.
The following example removes a user called User1 from the Sender role type for a bus called Bus1.
AdminTask removeUserFromDefaultRole ('[-bus Bus1 -role Sender -User User1]')