Salesforce Certified Platform Sharing and Visibility Architect (Plat-Arch-205) Sharing-and-Visibility-Architect Question # 3 Topic 1 Discussion

Salesforce Certified Platform Sharing and Visibility Architect (Plat-Arch-205) Sharing-and-Visibility-Architect Question # 3 Topic 1 Discussion

Sharing-and-Visibility-Architect Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunities. UC has noticed that fields with Field-Level Security permission of Read-Only on certain users’ profiles are being updated by this class.

How should the architect fix this problem?


A.

Add the With Sharing keyword to the class.


B.

Put the code in an inner class that uses the With Sharing keyword.


C.

Use the IsUpdateable() Apex method to test each field prior to allowing update.


Get Premium Sharing-and-Visibility-Architect Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.