-
-
Save TheShubhamVsnv/3d76fb10674cbc564bd01601508cb4ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
With Sharing is used in Apex classes to enforce sharing rules of the current user. | |
It ensures that the code runs with the sharing rules of the current user, limiting | |
access to records based on their sharing settings. | |
*/ | |
with sharing class MySharingClass { | |
// Code logic with sharing rules! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment