Back to Devexpress

PermissionsReloadMode Enum

expressappframework-devexpress-dot-expressapp-dot-security-8b5ce55b.md

latest1.9 KB
Original Source

PermissionsReloadMode Enum

Contains values specifying the modes of reloading the security permissions.

Namespace : DevExpress.ExpressApp.Security

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

NuGet Package : DevExpress.ExpressApp.Security

Declaration

csharp
public enum PermissionsReloadMode
vb
Public Enum PermissionsReloadMode

Members

NameDescription
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.

|

The following properties accept/return PermissionsReloadMode values:

Remarks

These enumeration values are used to set the PermissionsReloadMode property.

See Also

DevExpress.ExpressApp.Security Namespace