Share via


IDbConnectionExtension.Impersonate Property

Sets the username of the user that is impersonated while queries are executed. This property is ignored by the report server if impersonation is not supported by the data provider.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assembly:  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
WriteOnly Property Impersonate As String
    Set
'Usage
Dim instance As IDbConnectionExtension
Dim value As String

instance.Impersonate = value
string Impersonate { set; }
property String^ Impersonate {
    void set (String^ value);
}
abstract Impersonate : string with get, set
function set Impersonate (value : String)

Property Value

Type: System.String
The username of the user that is impersonated while queries are executed.