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.
Suggest answer: A
Reference:
No comments:
Please share to make the community better.