Valid CRT-450 Dumps shared by ExamDiscuss.com for Helping Passing CRT-450 Exam! ExamDiscuss.com now offer the newest CRT-450 exam dumps, the ExamDiscuss.com CRT-450 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-450 dumps with Test Engine here:
In the following example, which sharing context will myMethod execute when it is invoked?
Correct Answer: A
In Salesforce, the sharing context is determined by the definition of the class where a method is defined, not where it is invoked or instantiated. Since there's no "with sharing" or "without sharing" keyword in the class definition in the provided example, it operates in system context. In system context, Apex code has access to all objects and fields- object permissions, field-level security, sharing rules aren't applied for the current user. References: Apex Developer Guide