Condividi tramite


Proprietà ImpersonateUser

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.

Spazio dei nomi  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Sintassi

'Dichiarazione
Public Property ImpersonateUser As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System. . :: . .Boolean
A Boolean value.

Osservazioni

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.

Nota

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.