Use the removeGroupFromDefaultRole command to remove a group 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® Application Server scripts.
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 removeGroupFromDefaultRole command to remove a group from the default roles for a local bus. Removing a group from the default roles prevents access to the local bus in the default roles.
None.
None.
None.
The following example removes a group called Group1 from the default Sender role type for a bus called Bus1.
AdminTask.removeGroupFromDefaultRole ('[-bus Bus1 -role Sender -group Group1]')
The following example removes the AllAuthenticated group from the default browser role for a bus called Bus1.
AdminTask.removeGroupFromDefaultRole ('[-bus Bus1 -role Browser -group AllAuthenticated]')