Oracle® Business Intelligence Web Services Guide > Description of Services in Oracle BI Web Services > SAWSessionService Service >
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 administrator's 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. Signature
String impersonate(String name, String password, String impersonateID);
|
|
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. |
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 BI Web Services session.
|