Activity › Forums › Salesforce® Discussions › What is the use of with security_enforced clause in SOQL queries? Salesforce® Discussions What is the use of with security_enforced clause in SOQL queries? Posted by Shweta on July 1, 2020 at 2:40 PM What is the use of with security_enforced clause in SOQL queries? Ayush replied 5 years, 11 months ago 3 Members · 2 Replies 2 Replies Deepak Member July 1, 2020 at 5:31 PM WITH SECURITY_ENFORCED clause, you can use this to enable checking for field- and object-level security permissions on SOQL SELECT queries, including subqueries and cross-object relationships. [adinserter block='9'] Ayush Member July 2, 2020 at 12:14 PM you can use this to enable checking for field- and object-level security permissions on SOQL SELECT queries and cross-object relationships Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me