IReportServerCredentials.ImpersonationUser Property

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

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
ReadOnly Property ImpersonationUser As WindowsIdentity
'Usage
Dim instance As IReportServerCredentials
Dim value As WindowsIdentity

value = instance.ImpersonationUser
WindowsIdentity ImpersonationUser { get; }
property WindowsIdentity^ ImpersonationUser {
    WindowsIdentity^ get ();
}
/** @property */
WindowsIdentity get_ImpersonationUser ()
function get ImpersonationUser () : WindowsIdentity

Property Value

A System.Security.Principal.WindowsIdentity object that represents the user to impersonate.

See Also

Reference

IReportServerCredentials Interface
IReportServerCredentials Members
Microsoft.Reporting.WebForms Namespace