VerifyClientTrustLevelEventArgs.ClientTrustLevel Property
Gets or sets the trust level that specifies which actions a client can initiate on the server.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
#Declaration
public ClientTrustLevel ClientTrustLevel { get; set; }
#Property Value
Type | Description |
---|---|
Client |
A Client |
Available values:
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
Use the ClientTrustLevel property to verify the trust level used to specify which actions a client can initiate on the server.
Restricted mode affects the Web Dashboard in the following manner:
Only dashboards stored in dashboard storage can be processed on the client. Designer mode does not work.
Calling the IEditableDashboardStorage.AddDashboard and IDashboardStorage.SaveDashboard methods leads to an exception.
Information about data sources contained in a dashboard xml definition is not passed to the client when you request a dashboard XML file.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClientTrustLevel 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.