function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Class is by default executed in System mode means which does not consider User Level Sharing.
To Override that we use With Sharing keyword to override the default sharing execution.
See the doc below,
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_keywords_sharing.htm
And there are few other components which execute in User mode by default to override those classes we use Without Sharing keywords.
Regards,
Ashish