What is the purpose/benefit of With Sharing and Without Sharing keywords? Suppose I have 10 Opportunities, out of which I have access to only 4 opportunities and I don’t have access on standard field of currency type – Amount filed on opportunity. If I perform SOQL query within an apex class which is running under […]
Salesforce Interview Questions – VirtusaPolaris.
What is the purpose/benefit of With Sharing and Without Sharing keywords? Suppose I have 10 Opportunities, out of which I have access to only 4 opportunities and I don’t have access on standard field of currency type – Amount filed on opportunity. If I perform SOQL query within an apex class which is running under […]
Salesforce Interview Questions – Infosys.
What is the purpose/benefit of With Sharing and Without Sharing keywords? Suppose I have 10 Opportunities, out of which I have access to only 4 opportunities and I don’t have access on standard field of currency type – Amount filed on opportunity. If I perform SOQL query within an apex class which is running under […]
Salesforce Interview Questions – Tech Mahindra.
What is the purpose/benefit of With Sharing and Without Sharing keywords? Suppose I have 10 Opportunities, out of which I have access to only 4 opportunities and I don’t have access on standard field of currency type – Amount filed on opportunity. If I perform SOQL query within an apex class which is running under […]