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 Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments