Skip to main content
A newer version of this page is available. .

DashboardConfigurator.PassCredentials Property

Gets or sets whether confidential information (such as user credentials) will be passed to the client side (web browser).

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v23.1.Web.dll

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

public static bool PassCredentials { get; set; }

Property Value

Type Description
Boolean

true, to pass confidential information to the client side; otherwise, false.

Remarks

Tip

For information on how to use the DashboardConfigurator‘s API, see the following topic: Server-Side API Overview.

The Web Dashboard allows you to use various types of data sources (for instance, DashboardSqlDataSource or DashboardOlapDataSource) whose connection parameters can contain confidential information such as user credentials. You can set whether this information will be passed to the client side (web browser) using the boolean PassCredentials property. To avoid any security issues, we recommend setting this property to false and providing connection parameters in one of the following ways.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PassCredentials 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.

See Also