Skip to main content
.NET 8.0+

IsGrantedAdapter.Enable(ISecurityAdapterProvider) Method

Enables the specified Security Adapter in the ReloadPermissionStrategy.NoCache mode.

Namespace: DevExpress.ExpressApp.Security.Adapters

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

Declaration

public static void Enable(
    ISecurityAdapterProvider securityAdapterProvider
)

Parameters

Name Type Description
securityAdapterProvider DevExpress.ExpressApp.Security.Adapters.ISecurityAdapterProvider

An ISecurityAdapterProvider object specifying the Security Adapter Provider.

Remarks

To register or customize Security Adapters, pass an instance of the corresponding Security Adapter Provider to the Enable method. An example of using this method is provided in the Security Permissions Caching topic.

See Also