You need to sign in to do that
Don't have an account?
benwalk
Integration User acting on behalf of other Users
I have an in-house application that support agents interact with to work on cases, modify accounts, contracts, etc. This application uses the SOAP API and an integration user to push updates to Salesforce. The problem I'm having is that the updates are made by the integration user instead of the support agent users (who have accounts in Salesforce) because the calls are all made through the API. It would help with reporting and other business logic calculations if the create or update was done by the originating user, not the integration user.
Is there a way to create and update SFDC objects as another user via API?
Is there a way to create and update SFDC objects as another user via API?
I think yes but in this case those users may need access to corresponding objects and their credentials should be used in SOAP API Calls like following:
This can be done by apex with mapping between sfdc user agents and your in house application agent. So here is how you can do this.
1. On the sfdc side, for each agent user, you can create a custom field called inhouse agent userid and store the userid on the user object.
2. Now you can create a trigger on the account where would check the in house agent user id and if it exists, it would query the user object and get the actual sfdc user agent and update the owner of the account or user modified to sfdc user for the account.
Let me know if this helps and why do you want to do this integration? Please click like if you like my answer..
Thanks
Buyan