Partilhar via


Propriedade IReportServerCredentials.ImpersonationUser

Gets or sets the WindowsIdentity of the user to impersonate when the ReportViewer control connects to a report server.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
ReadOnly Property ImpersonationUser As WindowsIdentity
WindowsIdentity ImpersonationUser { get; }
property WindowsIdentity^ ImpersonationUser {
    WindowsIdentity^ get ();
}
abstract ImpersonationUser : WindowsIdentity with get
function get ImpersonationUser () : WindowsIdentity

Valor de propriedade

Tipo: WindowsIdentity
A WindowsIdentity object that represents the user to impersonate.

Consulte também

Referência

IReportServerCredentials Interface

Namespace Microsoft.Reporting.WebForms