IPermissionRequest Interface
Declares members implemented by Permission Request classes.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
The Security System uses Permission Requests to determine whether or not a permission is granted. Objects of the IPermissionRequest type can be passed to the SecurityStrategy.IsGranted and SecuritySystem.Demand methods when it is required to check a permission in code.
To add a custom Permission Request, declare a class that implements the IPermissionRequest interface, or inherit the OperationPermissionRequestBase class (see How to: Implement Custom Security Objects (Users, Roles, Operation Permissions)).
Tip
You can also use the IsGrantedExtensions class methods to check whether or not a permission is granted. These methods do not require an IPermissionRequest
object.