When you are administering messaging security, use these commands to list the security roles that are associated with service integration bus destinations, foreign buses, topics within a topic space, users and groups.
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.
print AdminTask.help('SIBAdminBusSecurityCommands')
print AdminTask.help('command_name')
AdminTask.listAllDestinationsWithRoles("-bus busname -type destinationType")
$AdminTask listAllDestinationsWithRoles {-bus busname -type destinationType}
AdminTask.listAllForeignBusesWithRoles("-bus busname")
$AdminTask listAllForeignBusesWithRoles {-bus busname}
AdminTask.listAllTopicsWithRoles("-bus busname -topicSpace topicSpaceName")
$AdminTask listAllTopicsWithRoles {-bus busname -topicSpace topicSpaceName}
AdminTask.listAllRolesForUser("-bus busname -user userName")
$AdminTask listAllRolesForUser {-bus busname -user userName}
AdminTask.listAllRolesForGroup("-bus busname -group groupName")
$AdminTask listAllRolesForGroup {-bus busname -group groupName}