The listResourceObjects call can be used to return a user’s responsibilities and other Oracle EBS objects. The following table provides information about the supported object types.
Object |
Options Supported |
Comments |
---|---|---|
auditorResps |
id, activeRespsOnly |
Returns a list of auditor responsibilities for the user. id is a string indicating a resource identity whose responsibilities are returned. If activeRespsOnly is set to true, then only active responsibilities are returned. The default is false. |
responsibilities |
id, activeRespsOnly |
Returns the user’s responsibilities. Valid for 11.5.9 only. |
directResponsibilities |
id, activeRespsOnly |
Returns the user’s direct responsibilities. Valid for 11.5.10 only. |
indirectResponsibilities |
id, activeRespsOnly |
Returns the user’s indirect responsibilities. Valid for 11.5.10 only. |
responsibilityNames |
None |
Returns a list of responsibility names assigned to the user. |
applications |
responsibilityName |
If no responsibility names are specified, then all applications assigned to the user are returned. |
securityGroups |
application |
If no applications are specified, then all security groups assigned to the user are returned. |
account |
activeAccountsOnly |
Returns a list of accounts for the user. If set to true, then only active accounts are returned. The default is false. |
securingAttrs |
searchPattern |
Returns a list of securing attributes that match the specified search pattern. If a pattern is not specified, all securing attributes are returned. |
The following code sample adds a field to the user form that returns active responsibilities. You must replace USER_NAME and RESOURCE_NAME with valid values. auditorResps may be replaced with responsibilities, directResponsibilities, or indirectResponsibilites
<Field name=’respNames’ type=’string’> <Display class=’Text’> <Property name=’title’ value=’Oracle ERP Responsibilities’/> </Display> <Expansion> <invoke name=’listResourceObjects’ class=’com.waveset.ui.FormUtil’> <ref>display.session</ref> <s>auditorResps</s> <s>RESOURCE_NAME</s> <map> <s>id</s> <s>USER_NAME</s> <s>activeRespsOnly</s> <s>true</s> <s>attrsToGet</s> <list> <s>name</s> </list> </map> <s>null</s> </invoke> </Expansion> </Field> |