nerdexam
Salesforce

CRT-450 · Question #210

In the following example, which sharing context will myMethod execute when it is invoked?

The correct answer is B. Sharing rules will be Inherited from the calling context. See the full explanation below for the reasoning.

Question

In the following example, which sharing context will myMethod execute when it is invoked?

Options

  • ASharing rules will not be enforced for the running user.
  • BSharing rules will be Inherited from the calling context.
  • CSharing rules will be enforced by the instantiating class.
  • DSharing rules will be enforced for the running user.

How the community answered

(19 responses)
  • A
    11% (2)
  • B
    74% (14)
  • C
    11% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice