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
jtranjtran 

How to access the Partner object for the non-admin user

My application uses the user (non-admin) credentials to access the Partner object. It gets the partners added to the opportunity. The problem here is the sforce API only allows admin user to access the Partner object. How do I get around this? I know the documentation says to check the box 'Allow user to view all data' but this would defeat the purpose of data segmentation and is a NO NO for my organization. Thanks,
 
James
 
SuperfellSuperfell
you should use the accountPartner and opportunitypartner objects