New to Telerik ReportingStart a free 30-day trial

Provides configuration data for connecting to a Telerik Report Server instance from the MVC Report Viewer. Used to establish authenticated connections to Report Server for centralized report management and deployment scenarios. Connecting to Telerik Report Server for .NET is not supported.

Definition

Namespace:Telerik.ReportViewer.Mvc

Assembly:Telerik.ReportViewer.Mvc.dll

Syntax:

C#
public class ReportServer

Inheritance: objectReportServer

Constructors

Initializes a new instance of the ReportServer class with default settings.

C#
public ReportServer()

Properties

Password

string

Gets or sets the password associated with the specified username for Report Server authentication.

C#
public string Password { get; set; }
Remarks:

Required when Username is specified for authenticated access to protected reports and resources.

Url

string

Gets or sets the URL of the Telerik Report Server instance.

C#
public string Url { get; set; }
Remarks:

Must be a complete URL including protocol (http/https) pointing to the Report Server installation.

Username

string

Gets or sets a valid username that exists in Report Server registered users, or null/empty to use the built-in Guest account.

C#
public string Username { get; set; }
Remarks:

When empty, uses the Guest account which requires appropriate server permissions for accessing reports.