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
SpringGeeledJImSpringGeeledJIm 

Object OpportunityOwnerSharingRule is not in codebase nor WSDL?

I need to access this object but it's not in the codebase. No java nor class called OpportunityOwnerSharingRule. BTW I 'm using Eclipse.  I've used the API successfully for many projects using Opportunity, Lead, UserRole, User, GroupMember... Nor is it in our enterprise WSDL. Any ideas?
 
werewolfwerewolf
Are you trying to access the Opportunity sharing rows (which are exposed, in OpportunityShare) or are you actually trying to muck with the sharing rules themselves (which I don't think you can do)?
SpringGeeledJImSpringGeeledJIm
I need to pull locally the Rule info, specifically the Role/Group/Role plus subordinates(Y|N) for each Rule's Owner and Share column.
 
I can get at the OpportunityShare object but in this project it won't help.