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
marklinmarklin 

partner api describeGlobal() lists whose objects?

I am a new hand in the partner api and have some questions about the binding.describeGlobal() method. This method doesn't require an organization id as parameter. Is this because an organization's user has to first login and then call this method. That is, the objects returned are the objects of that user's organization. Second , if this is true, then returned objects include only those objects that the user (who successfully login) has access to or all the objects of the organization?

Any idea will be appreciated.

Mark
SuperfellSuperfell
correct, the describeGlobal call (and the API in general) will only show data that the user has access to. So in this case, the returned set of sObjects are those that the particular user has access to.