ClassReportServer
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:
public class ReportServer
Inheritance: objectReportServer
Constructors
ReportServer()
Initializes a new instance of the ReportServer class with default settings.
Declaration
public ReportServer()
Properties
Password
Gets or sets the password associated with the specified username for Report Server authentication.
Declaration
public string Password { get; set; }
Property Value
string
Remarks
Required when Username is specified for authenticated access to protected reports and resources.
Url
Gets or sets the URL of the Telerik Report Server instance.
Declaration
public string Url { get; set; }
Property Value
string
Remarks
Must be a complete URL including protocol (http/https) pointing to the Report Server installation.
Username
Gets or sets a valid username that exists in Report Server registered users, or null/empty to use the built-in Guest account.
Declaration
public string Username { get; set; }
Property Value
string
Remarks
When empty, uses the Guest account which requires appropriate server permissions for accessing reports.