Siebel Analytics Web Administration Guide > Working with Data and Managing the Web Catalog Using Siebel Analytics Web SOAP API > Description of Methods in the Siebel Analytics Web SOAP API >

Impersonating a User Using the impersonate() Method in the Siebel Analytics Web SOAP API


The impersonate() method in the SAWSessionService service logs on and impersonates the user. 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.

This method returns the session ID and sets an HTTP session cookie. If user authentication or impersonation fails, an exception is thrown.

Description of Parameters in the impersonate() Method

The impersonate() method parameters are described in the following table.

Parameter
Description

String name

A character string that contains the user name to log on and authenticate.

String

A character string that contains the password for the user. If there is no password for the user, leave this field empty (void).

String

A character string that contains the user name to impersonate the authenticated user.

Siebel Analytics Web Administration Guide