Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SecurityStrategy.PermissionsReloadMode Property

Specifies the mode of reloading the security permissions used by Security Adapters.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.2.dll

#Declaration

public PermissionsReloadMode PermissionsReloadMode { get; set; }

#Property Value

Type Description
PermissionsReloadMode

A PermissionsReloadMode value specifying the mode of reloading the security permissions used by Security Adapters.

Available values:

Name Description
NoCache

Each Session (in XPO) or DBContext (in Entity Framework Core) operates with the most recent permissions loaded from the database.

CacheOnFirstAccess

Permissions are loaded and cached when the corresponding secured data is accessed for the first time. Cached permissions are used until the user is logged off. This mode significantly reduces the number of database requests when working with secured data.

See Also