1

I am trying to perform a query in Anypoint Studio on the Account standard object. In the Salesforce standard connector 'Query' configuration I implemented the use of the user's sessionId. So if this is passed in the request header, the query is performed as the logged in user. However this causes the query to fail if the user does not have read permission on all the fields included in the query.

Is there a way to avoid the query from failing, e.g. by returning only the fields on which the user has read permission and not the others?

1 Answer 1

0

This is not possible with the out of box API. You can certainly build an API in apex that can use the Stripinaccessible apex class to achieve this.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .