Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.tip.pc.services.identity.xpath
Class GetUserRolesFunction

java.lang.Object
  extended byoracle.tip.pc.services.identity.xpath.GetUserRolesFunction

All Implemented Interfaces:
com.oracle.bpel.xml.xpath.IXPathFunction

public class GetUserRolesFunction
extends java.lang.Object
implements com.oracle.bpel.xml.xpath.IXPathFunction

The signature of this function is ora:getUserRoles(userId, roleType, direct). This function returns a list of objects either role object or group objects depending on the roleType. The arguments are:

  1. userId - String or element containing the user whose roles are to be retrieved
  2. roleType - The role name - should be one of the three values 'ApplicationRole', 'EnterpriseRole' or 'AnyRole'
  3. direct - String or element indicating if direct or indirect roles should be fetched. This is optional and if not specified only direct roles will be fetched.

<p/>


Constructor Summary
GetUserRolesFunction()
           

 

Method Summary
 java.lang.Object call(com.oracle.bpel.xml.xpath.IXPathContext context, java.util.List args)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GetUserRolesFunction

public GetUserRolesFunction()

Method Detail

call

public java.lang.Object call(com.oracle.bpel.xml.xpath.IXPathContext context,
                             java.util.List args)
                      throws com.oracle.bpel.xml.xpath.XPathFunctionException
Specified by:
call in interface com.oracle.bpel.xml.xpath.IXPathFunction
Throws:
com.oracle.bpel.xml.xpath.XPathFunctionException

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.