Proprietà ReportServerCredentials.ImpersonationUser
Specifica l'utente da rappresentare per la connessione al server di rapporti.
Spazio dei nomi: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Sintassi
'Dichiarazione
Public Property ImpersonationUser As WindowsIdentity
public WindowsIdentity ImpersonationUser { get; set; }
public:
virtual property WindowsIdentity^ ImpersonationUser {
WindowsIdentity^ get () sealed;
void set (WindowsIdentity^ value) sealed;
}
abstract ImpersonationUser : WindowsIdentity with get, set
override ImpersonationUser : WindowsIdentity with get, set
final function get ImpersonationUser () : WindowsIdentity
final function set ImpersonationUser (value : WindowsIdentity)
Valore proprietà
Tipo: WindowsIdentity
Oggetto WindowsIdentity che incapsula l'utente da rappresentare per la connessione al server di rapporti.
Implementa
IReportServerCredentials.ImpersonationUser
Note
Se questa proprietà non è impostata, il controllo ReportViewer tenterà di connettersi al server di rapporti come utente del thread corrente.