expressappframework-devexpress-dot-expressapp-dot-security-97884eb2.md
Declares members implemented by Permission Request classes.
Namespace : DevExpress.ExpressApp.Security
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public interface IPermissionRequest
Public Interface IPermissionRequest
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.
See Also