This RESTful web service request can be used to retrieve a list of valid WebFOCUS roles.
HTTP Method: GET
REST URL Format:
http://host:port/ibi_apps/rs/ibfs/SSYS/ROLES?IBIRS_action=get
where:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Example:
In the following example, a list of WebFOCUS roles is retrieved.
Request:
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/ROLES?IBIRS_action=get
Response:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <ibfsrpc _jt="IBFSResponseObject" language="EN" name="get" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple"> <ibfsparams size="2"> <entry key="IBIRS_args" value="__null"/> <entry key="IBIRS_" value="/SSYS/ROLES"/> </ibfsparams> <rootObject _jt="IBFSObject" container="true" description="ROLES" dummy="false" fullPath="IBFS:/SSYS/ROLES" name="ROLES" policy="////D///9+f/////f/////////8AAAA=" rsPath="/ibi_apps/rs/ibfs/SSYS/ROLES" type="WebFOCUSComponent"> <children _jt="ArrayList" size="76"> <item _jt="IBFSPermissionSetObject" description="Full control or all privileges" dummy="false" fullPath="IBFS:/SSYS/ROLES/SystemFullControl" handle="10301" index="0" name="SystemFullControl" parent="ROLES" policy="////D///9+f/////f/////7/+/8AAAA=" rsPath="/ibi_apps/rs/ibfs/SSYS/ROLES/SystemFullControl" showPermissions="false" subsysNameList="*" type="PermissionSet">
<pSet _jt="IBSSPermissionSet" compLvl="1" description="Full control or all privileges" id="10301" name="SystemFullControl" shipped="true"> <policy _jt="IBSSPolicy" derivedDate="1349171464497"> <policy _jt="EnumMap" _keyJT="IBSSOperation" size="152"> <entry> <key _jt="IBSSOperation" name="opViewPortal"/> <value _jt="IBSSVerb" name="OVERPERMIT"/> </entry> <entry> <key _jt="IBSSOperation" name="opList"/> <value _jt="IBSSVerb" name="OVERPERMIT"/> </entry> <entry> <key _jt="IBSSOperation" name="opViewProps"/> <value _jt="IBSSVerb" name="OVERPERMIT"/> </entry> <entry> <key _jt="IBSSOperation" name="opDisplayVersionInfo"/> <value _jt="IBSSVerb" name="OVERPERMIT"/> </entry> . . . <entry> <key _jt="IBSSOperation" name="opInfoAssistPersonal"/> <value _jt="IBSSVerb" name="OVERPERMIT"/> </entry> </policy> </policy> <subsysList _jt="ArrayList" size="3"> <item _jt="IBFSSubsystem" index="0" name="ROOT"/> <item _jt="IBFSSubsystem" index="1" name="WFC"/> <item _jt="IBFSSubsystem" index="2" name="BIP"/> </subsysList> </pSet> </item> </children> </rootObject> </ibfsrpc>
Information Builders |