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
shiv@SFDCshiv@SFDC 

With Sharing or Without Sharing

Hi all,

Please let me know without sharing only overides(excape) sharing setting only or permission setting also (CRUD).

Thanks.
Best Answer chosen by shiv@SFDC
lakslaks
Hi,

Without sharing overrides CRUD as well.

The following links may help to understand it further ->
https://developer.salesforce.com/page/Without_Sharing
https://developer.salesforce.com/page/Enforcing_CRUD_and_FLS

If this solved your issue kindly mark it as the Solution.

Regards,
Lakshmi.

All Answers

lakslaks
Hi,

Without sharing overrides CRUD as well.

The following links may help to understand it further ->
https://developer.salesforce.com/page/Without_Sharing
https://developer.salesforce.com/page/Enforcing_CRUD_and_FLS

If this solved your issue kindly mark it as the Solution.

Regards,
Lakshmi.
This was selected as the best answer
Sagar PareekSagar Pareek
Without sharing overrides CRUD
farukh sk hdfarukh sk hd