IsGrantedAdapter.Enable(ISecurityAdapterProvider, ReloadPermissionStrategy) Method

Enables the specified Security Adapter using the selected mode of reloading the security permissions.

Namespace: DevExpress.ExpressApp.Security.Adapters

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


public static void Enable(
    ISecurityAdapterProvider securityAdapterProviders,
    ReloadPermissionStrategy reloadPermissionStrategy
Public Shared Sub Enable(
    securityAdapterProviders As ISecurityAdapterProvider,
    reloadPermissionStrategy As ReloadPermissionStrategy


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

An ISecurityAdapterProvider object specifying the Security Adapter Provider.

ReloadPermissionStrategy reloadPermissionStrategy

An ReloadPermissionStrategy enumeration value specifying the mode of reloading the security permissions.

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