corelibraries-devexpress-dot-reportserver-dot-printing-dot-remotedocumentsource-13da2b22.md
Specifies the user authentication type that is appropriate to an assigned remote document source.
Namespace : DevExpress.ReportServer.Printing
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(AuthenticationType.None)]
public AuthenticationType AuthenticationType { get; set; }
<DefaultValue(AuthenticationType.None)>
Public Property AuthenticationType As AuthenticationType
| Type | Default | Description |
|---|---|---|
| AuthenticationType | None |
An AuthenticationType enumeration value.
|
Available values:
| Name | Description |
|---|---|
| None |
The remote document source is a custom WCF report service.
| | Windows |
The remote document source is a Report and Dashboard Server that supports the Windows authentication type.
| | Forms |
The remote document source is a Report and Dashboard Server that supports the Forms authentication type.
| | Guest |
The remote document source is a Report and Dashboard Server that supports the Guest authentication type.
|
To assign a remote document source to the DocumentViewer control, specify the following properties of the RemoteDocumentSource class.
The AuthenticationType property.
The RemoteDocumentSource.ServiceUri property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AuthenticationType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress;
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest;
remoteDocumentSource1.ReportIdentity = new GeneratedReportIdentity(reportId);
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest
remoteDocumentSource1.ReportIdentity = New GeneratedReportIdentity(reportId)
See Also