IsGrantedAdapter.ReloadPermissionStrategy Property
In This Article
For internal use.
Namespace: DevExpress.ExpressApp.Security.Adapters
Assembly: DevExpress.ExpressApp.Security.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Security
#Declaration
public static ReloadPermissionStrategy ReloadPermissionStrategy { get; }
#Property Value
Type |
---|
Reload |
Available values:
Name | Description |
---|---|
None | For internal use. |
No |
Each Session (in XPO) or DBContext (in Entity Framework Core) operates with the most recent permissions loaded from the database. |
Cache |
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