Hi,
Inherited sharing keyword to define apex class as Inheritedsharing is available with the Salesforce winter’19 release in both Salesforce classing and lighting versions.
– If the class is declared as inherited sharing, it runs in the sharing mode of the class that called it.
– The keyword ‘inherited sharing’ is used to define an Apex class as Inherited sharing class.
– If a class declared as inherited sharing, it runs as with sharing by default.
– A class defined as Inherited sharing will only run in without sharing mode when it specifically called from an already established without sharing context.
Thanks.
-
This reply was modified 6 years, 5 months ago by
Prachi.