Back to Devexpress

RemoteDocumentSource.AuthenticationType Property

corelibraries-devexpress-dot-reportserver-dot-printing-dot-remotedocumentsource-13da2b22.md

latest4.5 KB
Original Source

RemoteDocumentSource.AuthenticationType Property

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

Declaration

csharp
[DefaultValue(AuthenticationType.None)]
public AuthenticationType AuthenticationType { get; set; }
vb
<DefaultValue(AuthenticationType.None)>
Public Property AuthenticationType As AuthenticationType

Property Value

TypeDefaultDescription
AuthenticationTypeNone

An AuthenticationType enumeration value.

|

Available values:

NameDescription
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.

|

Remarks

To assign a remote document source to the DocumentViewer control, specify the following properties of the RemoteDocumentSource class.

  1. The AuthenticationType property.

  2. 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.

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/CS/ScheduledTasksAPIClientDemo/ReportViewerForm.cs#L11

csharp
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress;
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest;
remoteDocumentSource1.ReportIdentity = new GeneratedReportIdentity(reportId);

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/VB/ScheduledTasksAPIClientDemo/ReportViewerForm.vb#L12

vb
remoteDocumentSource1.ServiceUri = MainForm.ServerAddress
remoteDocumentSource1.AuthenticationType = AuthenticationType.Guest
remoteDocumentSource1.ReportIdentity = New GeneratedReportIdentity(reportId)

See Also

ServiceUri

RemoteDocumentSource Class

RemoteDocumentSource Members

DevExpress.ReportServer.Printing Namespace