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.1.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
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