Is there any api in salesforce by which by passing userid we can know read access on Opportunities.

  • 1
    Are you asking how to discover if some given user possesses CRUD access to the Opportunity object, or how to discover if some given user can see specific Opportunity records, or something else? Please edit your question. – David Reed Jul 10 '19 at 5:02

IF it is with respect to seeing any particular object records say Opportunity then you can look at Opportunityshare object. Query for the user in the Opportunity share object, you get all the record's accessible to the user.

I dont think we have an API to check the sharing, may be good input for Salesforce ideas.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.