Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IsGrantedAdapter.Enable(IEnumerable<ISecurityAdapterProvider>, ReloadPermissionStrategy) Method

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

Namespace: DevExpress.ExpressApp.Security.Adapters

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

#Declaration

public static void Enable(
    IEnumerable<ISecurityAdapterProvider> sourceSecurityAdapterProviders,
    ReloadPermissionStrategy reloadPermissionStrategy
)

#Parameters

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

An IEnumerable<ISecurityAdapterProvider> list of Security Adapter Providers

reloadPermissionStrategy ReloadPermissionStrategy

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

#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