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
RYakerRYaker 

Security perms effect on query of of organization object

A user with at Standard Profile can access and successfully pass the Org_ID in a web link from within the SFDC GUI. This same user is unable to login via the API and retrieve the Org_ID without being assigned the "view all data" rights.
Using partner wsdl w/ 5.0 API.
benjasikbenjasik
That looks like an inconsistency. What fields do you need on organization?
RYakerRYaker
The organization id and organization name.
benjasikbenjasik
How about using getUserInfo? It has all that info.