Purpose

Specifies the password for the user used for impersonation. When specified with the ImpersonateUser property, the driver first authenticates based on the AuthenticationMethod property setting. Once the initial connection is established, the driver reauthenticates using the impersonated user and password.

Valid Values

string

where:

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

Notes

  • The administrator must grant CONNECT THROUGH AUTHENTICATED USING PASSWORD permission to the authenticated user in order to impersonate the user.
  • If you set only the ImpersonateUser property, the driver attempts to connect using impersonation without a password.
  • If you set only the ImpersonateUserPassword property, the driver does not attempt to use impersonation to connect.

Data Source Method

public String getImpersonateUserPassword()

public void setImpersonateUserPassword(String)

Default

None

Data Type

String