Enforce Security With the stripInaccessible Method. This is again one of the gem of Spring 20. We now have stripInaccessible method available which we can use to check current user’s create, read, update, or upsert access permission. Previously to do this we need to use sObject Describe ObjectResult and FieldResult to check each permission for…
Tag: WITH SECURITY_ENFORCED
Accessibility Check In SOQL Queries Using WITH SECURITY_ENFORCED
Security is very important doe any developer. In Salesforce we follow all guidelines related to security. Most of the security feature is handle by Salesforce. One of the common security feature is Object and Field level check. For this Salesforce introduce new feature WITH SECURITY_ENFORCED. Today we will check how we can use it. This…