Salesforce Interview Question of the day || Salesforce Developer Interview

Опубликовано: 22 Февраль 2024
на канале: Salesforce & Interviews
3,532
167

Class A is annotated as With Sharing and Class B is annotated with without Sharing, if Class A is calling a method of class B then what will be the sharing context of Class B's Method?

Answer - Without Sharing, The sharing setting of the class where a method is defined is applied, not of the class where the method is called from.