ReloadPermissionStrategy Enum

Contains values specifying the modes of reloading the security permissions used by Security Adapters.

Namespace: DevExpress.ExpressApp.Security.Adapters

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

Declaration

public enum ReloadPermissionStrategy
Public Enum ReloadPermissionStrategy

Members

Name Description
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.

NoCache

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

None

For internal use.

Remarks

These enumeration values are passed to the reloadPermissionStrategy parameter of the SecurityAdapterHelper.Enable method.

See Also