Signature Returns GetSessionEnvironment Method

3-26 Oracle Fusion Middleware Integrators Guide for Oracle Business Intelligence Enterprise Edition

3.8.3.1 Signature

List[] getSessionVariablesList[] names, String sessionID;

3.8.3.2 Returns

This method returns values of the Oracle BI EE variables associated with the current session.

3.8.4 impersonate Method

Use this method to log on and impersonate the user during the SAWSessionService service. This method is useful when you need to create sessions for multiple users and have only the administrators name and password. You do not need to use the logon method if you use the impersonate method. If user authentication or impersonation fails, an exception is thrown.

3.8.4.1 Signature

String impersonateString name, String password, String impersonateID;

3.8.4.2 Returns

This method returns the session ID and sets an HTTP session cookie. The session ID is used in other methods to identify the Oracle Business Intelligence Web Services session.

3.8.5 impersonateex Method

Use this method to log on and impersonate the user in the SAWSessionService service. Similar to the impersonate method, but impersonateex can specify optional session parameters. This method is useful when you need to create sessions for multiple users and have only the administrators name and password. You do not need to use the logon method if you use the impersonateex method. If user authentication or impersonation fails, then an exception is thrown.

3.8.5.1 Signature

AuthResults impersonateexString name, String password, String impersonateID, SAWSessionParameters sessionparams; Arguments Description List[] names Specifies the names of the session variables. String sessionID Specifies the session ID, which is usually returned by the logon method. If the SOAP client engine can handle HTTP cookies, you can omit the session ID or set it to null. Arguments Description String name Specifies the user name to log on and authenticate. String password Specifies the password for the user. If there is no password for the user, leave this field empty void. String impersonateID Specifies the user name to impersonate the authenticated user.