Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IPermissionRequest Interface

In This Article

Declares members implemented by Permission Request classes.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public interface IPermissionRequest

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

See Also