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

Declaration

public static void Enable(
    IEnumerable<ISecurityAdapterProvider> securityAdapterProviders
)
Public Shared Sub Enable(
    securityAdapterProviders As IEnumerable(Of ISecurityAdapterProvider)
)

Parameters

Type Name Description
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.

See Also