Purpose

Specifies the user used for impersonation. This value determines the identity and permissions for accessing Oracle resources during query execution. When specified, the driver first authenticates based on the AuthenticationMethod property setting. Once the initial connection is established, the driver reauthenticates as the impersonated user.

Valid Values

string

where:

string
is a valid user with permissions to access the database.

Notes

  • An administrator must grant CONNECT THROUGH permission to the authenticated user in order to impersonate the user.
  • The driver returns an error if ExtConnection.setCurrentUser() is called after using the connection properties ImpersonateUser and ImpersonateUserPassword in the connection URL.
  • You should not call resetUser() if you use the connection properties ImpersonateUser and ImpersonateUserPassword in the connection URL.

Data Source Method

public String getImpersonateUser()

public void setImpersonateUser(String)

Default

None

Data Type

String