+ Start a Discussion

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.

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.