DataSourceDefinition.ImpersonateUser Property
Indicates whether the report server attempts to impersonate a user by using stored credentials after a data processing extension has established an authenticated connection to a data source.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
'Declaration
Public Property ImpersonateUser As Boolean
Get
Set
'Usage
Dim instance As DataSourceDefinition
Dim value As Boolean
value = instance.ImpersonateUser
instance.ImpersonateUser = value
public bool ImpersonateUser { get; set; }
public:
property bool ImpersonateUser {
bool get ();
void set (bool value);
}
member ImpersonateUser : bool with get, set
function get ImpersonateUser () : boolean
function set ImpersonateUser (value : boolean)
Property Value
Type: System.Boolean
A Boolean value.
Remarks
When set to true, a data extension attempts to impersonate the user authenticated to the report server at the data source after a connection has been established.
Note
ImpersonateUser is only support by the SQL Server data extension that ships with Report Server.
When set to false, the Report Server passes credentials to the data source.
Impersonation may only be performed when CredentialRetrieval is set to Store.