Skip to main content

ClientTrustLevel Enum

Lists trust levels that specify which actions a client can initiate to execute them on a server side.

Namespace: DevExpress.DashboardWeb

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

Declaration

public enum ClientTrustLevel

Members

Name Description
Full

A client can initiate any action to execute them on a server side.

Restricted

A client cannot initiate actions that can lead to changing a dashboard stored on a server. This trust level can be used to prevent inadvertent or unauthorized modifications to dashboards.

Remarks

Values listed in this enumeration are used to set the VerifyClientTrustLevelEventArgs.ClientTrustLevel property.

A list below describes the Web Dashboard’s specifics when it operates in the ClientTrustLevel.Restricted mode:

  • Only dashboards stored in dashboard storage can be processed on the client. The designer mode does not work.

  • Calling the IEditableDashboardStorage.AddDashboard and IDashboardStorage.SaveDashboard methods leads to an exception.

  • Information about data sources containing in a dashboard xml definition is not passed to the client when you request a dashboard xml file.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClientTrustLevel enum.

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