ReportServerCredentials Class

 

Specifies the credentials for the ReportViewer control to use when connecting to a report server.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

System.Object
  Microsoft.Reporting.WinForms.ReportServerCredentials

public sealed class ReportServerCredentials : IReportServerCredentials

NameDescription
System_CAPS_pubpropertyImpersonationUser

Specifies the user to impersonate when connecting to the report server.

System_CAPS_pubpropertyNetworkCredentials

Gets or sets the network credentials used for authentication with the report server.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetFormsCredentials(Cookie, String, String, String)

Returns a Boolean value indicating whether forms authentication will be used when connecting to the report server, as well as information about the forms credentials to be used for authentication.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetFormsCredentials(Cookie, String, String, String)

Specifies that forms authentication is to be used when connecting to the report server and provides the forms credentials.

System_CAPS_pubmethodToString()

(Inherited from Object.)

By default, the ReportViewer control uses the default Windows identity to connect to the report server. The ReportServerCredentials class is implemented as a property of the ReportViewer control and can be used to provide custom authentication for connecting to the report server.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: