ReportServerCredentials.ImpersonationUser Property
Specifies the user to impersonate when connecting to the report server.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public WindowsIdentity ImpersonationUser { get; set; }
public:
property WindowsIdentity^ ImpersonationUser {
virtual WindowsIdentity^ get() sealed;
virtual void set(WindowsIdentity^ value) sealed;
}
abstract ImpersonationUser : WindowsIdentity with get, set
override ImpersonationUser : WindowsIdentity with get, set
Public Property ImpersonationUser As WindowsIdentity
Property Value
Type: System.Security.Principal.WindowsIdentity
A WindowsIdentity object encapsulating the user to impersonate when connecting to a report server.
Implements
IReportServerCredentials.ImpersonationUser
Remarks
The ReportViewer control will to attempt to connect to the report server as the current thread user if this property is not set.
See Also
ReportServerCredentials Class
Microsoft.Reporting.WinForms Namespace
Return to top