WebCredential Class
Provides user credentials to login to a remote document source.
Namespace: DevExpress.XtraReports.Web.DocumentViewer
Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
Remarks
The WebCredential class provides settings that enable the ASPxDocumentViewer to connect to a remote document source supporting one of the following user authentication types.
Windows Authentication
To select this authentication type, set the DocumentViewerRemoteSourceSettings.AuthenticationType property to AuthenticationType.Windows.
The WebCredential.UserName and WebCredential.Password settings are ignored.
Forms Authentication
To select this authentication type, set the DocumentViewerRemoteSourceSettings.AuthenticationType property to AuthenticationType.Forms and specify the user credentials via the WebCredential.UserName and WebCredential.Password properties.