Which two statements are true about Apex code executed in Anonymous - ProProfs Discuss
Topics
Products
Follow Us:

Which two statements are true about Apex code executed in Anonymous Blocks?



A. Successful DML operations are automatically committed
B. The code runs with the permissions of the logged in user
C. The code runs in system mode having access to all objects and fields
D. All DML operations are automatically rolled back
E. The code runs with the permissions of the user specified in the runAs() statement

This question is part of WI19 PDI
Asked by Lovefor, Last updated: Jan 21, 2020

+ Answer
Request

2 Answers

dhineshkumar

Dhineshkumar

Answered Dec 04, 2019

The Answer is A, C

 

lovefor

Lovefor

Answered Aug 15, 2019

The code runs with the permissions of the logged in user
The code runs in system mode having access to all objects and fields
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.