Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDI All Questions
Exam PDI All Questions

View all questions & answers for the PDI exam

Salesforce Developers PDI Question # 69 Topic 7 Discussion

PDI Exam Topic 7 Question 69 Discussion:
Question #: 69
Topic #: 7

While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?


A.

Use the WITH SECURITY_ENFORCED clause within the SOQL.


B.

Use the inherited sharing keyword.


C.

Use the with sharing keyword.


D.

Use the without sharing keyword.


Get Premium PDI 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.