IsGrantedAdapter.Enable(IEnumerable<ISecurityAdapterProvider>) Method

Enables the specified list of Security Adapters in the ReloadPermissionStrategy.NoCache mode.

Namespace: DevExpress.ExpressApp.Security.Adapters

Assembly: DevExpress.ExpressApp.Security.v18.1.dll

Syntax

public static void Enable(
    IEnumerable<ISecurityAdapterProvider> securityAdapterProviders
)

Parameters

Type Name Description
System.Collections.Generic.IEnumerable<DevExpress.ExpressApp.Security.Adapters.ISecurityAdapterProvider> securityAdapterProviders

An IEnumerable<ISecurityAdapterProvider> list of Security Adapter Providers.

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.