Skip to main content
.NET 8.0+

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.v24.2.dll

Declaration

public static void Enable(
    IEnumerable<ISecurityAdapterProvider> securityAdapterProviders
)

Parameters

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

An IEnumerable<ISecurityAdapterProvider> list of Security Adapter Providers.

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