.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

IPermissionRequest Interface

Declares members implemented by Permission Request classes.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.v21.2.dll


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


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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IPermissionRequest interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also