Partager via


ImpersonateUser propriété

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.

Espace de noms :  ReportService2005
Assembly :  ReportService2005 (dans ReportService2005.dll)

Syntaxe

'Déclaration
Public Property ImpersonateUser As Boolean
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Boolean
A Boolean value.

Notes

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.

[!REMARQUE]

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.