function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Developer BaseDeveloper Base 

With sharing class - does it respect Manual Sharing, Account & Opportunity Teams, Apex Managed Sharing?

https://developer.salesforce.com/docs/atlas.en-us.234.0.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm

"Use the with sharing keyword when declaring a class to enforce sharing rules of the current user."

Does it also enforce other ways of sharing?
MagulanDuraipandianMagulanDuraipandian
Yes. It obeys all Sharing methods.

--
Magulan Duraipandian
Follow in Medium for more updates: https://infallibletechie.medium.com/