Back to Devexpress

PermissionRequestProcessorBase<ProcessorPermissionRequestType> Class

expressappframework-devexpress-dot-expressapp-dot-security-dot-permissionrequestprocessorbase-1.md

latest2.4 KB
Original Source

PermissionRequestProcessorBase<ProcessorPermissionRequestType> Class

An abstract base class for Permission Request Processors.

Namespace : DevExpress.ExpressApp.Security

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

NuGet Package : DevExpress.ExpressApp.Security

Declaration

csharp
public abstract class PermissionRequestProcessorBase<ProcessorPermissionRequestType> :
    IPermissionRequestProcessor
    where ProcessorPermissionRequestType : class, IPermissionRequest
vb
Public MustInherit Class PermissionRequestProcessorBase(Of ProcessorPermissionRequestType As {Class, IPermissionRequest})
    Implements IPermissionRequestProcessor

Type Parameters

Name
ProcessorPermissionRequestType

Remarks

All Permission Requests (see IPermissionRequest) should have an appropriate Permission Request Processor known by the Security Strategy. To implement such a processor, inherit this class and pass the Permission Request type as the ancestor class’ generic parameter. Handle the SecurityStrategy.CustomizeRequestProcessors event to register your custom processor, use the event’s Permissions parameter to access current permissions. Refer to the How to: Implement Custom Security Objects (Users, Roles, Operation Permissions) topic to see an example.

Inheritance

Object PermissionRequestProcessorBase<ProcessorPermissionRequestType>

See Also

PermissionRequestProcessorBase<ProcessorPermissionRequestType> Members

DevExpress.ExpressApp.Security Namespace