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
jhartfieldjhartfield 

What user is used when inserting records using Salesforce 2 Salesforce

What user context is used to do run apex code/dml operations when a record is inserted or updated using salesforce to salesforce?  Is there a way to set this user?

Will MoxleyWill Moxley
It runs under a special user context that is similar to a system user.  You cannot set the context under which it runs.