Salesforce Interview Questions and Answers
Question: Explain the use of the 'WITH SECURITY_ENFORCED' clause in SOQL queries.Answer: The 'WITH SECURITY_ENFORCED' clause in SOQL queries is used to enforce field- and object-level security in Apex code. It ensures that queries respect the current user's permissions and visibility. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: