DataSourceDefinition.WindowsCredentials Property

 

Applies To: SQL Server 2016 Preview

Indicates whether the Report Server passes user-provided or stored credentials as Windows credentials when connecting to a data source.

Namespace:   ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

public bool WindowsCredentials { get; set; }
public:
property bool WindowsCredentials {
    bool get();
    void set(bool value);
}
member WindowsCredentials : bool with get, set
Public Property WindowsCredentials As Boolean

Property Value

Type: System.Boolean

A Boolean value. The default value is false.

Remarks

When WindowsCredentials is set to true, the submitted credentials are treated as Windows credentials when connecting to a data source.

The Report Server impersonates the user before making the connection to the data source.

This property is valid when the CredentialRetrieval property is set to Prompt or Store. This property is ignored if CredentialRetrieval is set to Integrated.

See Also

DataSourceDefinition Class
ReportService2005 Namespace

Return to top