Previous Topic: Generate Stub Classes with WSDL2JavaNext Topic: logout


impersonate

The following parameters apply to the impersonate method:

Parameter

Type

Description

SID

Integer

Identifies the session retrieved from logging in.

username

String

(Required) Identifies the user name of the user being impersonated.

Description

Lets an administrator switch the user responsible for all web services activities in a current web services session without additional user authentication. Invoking this method is allowed only if the current web services session is started by using the PKI access authentication scheme and the access policy is defined to allow impersonation.

The Access Type of the user to be impersonated is checked against the Access Type of the proxy user of the policy used in the current web services session. If the access_level of the new user’s access type is less than or equal to the grant_level of the proxy user’s access type, this method will replace the current user with the new user. A new web services session starts while the old session ends. A new SID is then returned. In addition, the new user is given the responsibility for all subsequent activities initiated in this new session. The function group security and data partition are enforced for the new user.

Returns

The following is returned:

Parameter

Type

Description

SID

Integer

Identifies the unique SID to use for all other Web Services calls.