Which two will restrict the records correctly?
A developer must create an Apex class, contactcontroller, that a Lightning component can use to search for Contact records. User of the Lightning component should only be able to search Contact records to which they have access.
Which two will restrict the records correctly?
A . public class ContactController
B . public with sharing class ContactController
C . public without sharing class ContactController
D . public inherited sharing class ContactController
Answer: B,D
Latest PDI Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments