Determining destination defaults inheritance by using the wsadmin tool
By default, the inheritance of default permissions by destinations is allowed for all local destinations. Use this command to determine whether the inheritance of default permissions is enabled or disabled for a local destination.
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.
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus security commands in Jython
and a brief description of each command, enter the following command at the wsadmin
prompt:
print AdminTask.help('SIBAdminBusSecurityCommands')
- For overview help on a given command, enter the following command at the wsadmin
prompt:
print AdminTask.help('command_name')
Command
To determine whether a specified destination inherits default destination user roles, use the following command:
- Using Jython:
AdminTask.isInheritDefaultsForDestination("-type destinationType -bus busName -destination destinationName")
- Using Jacl:
$AdminTask isInheritDefaultsForDestination {-type destinationType -bus busName -destination destinationName}
This command will return either True or False.