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
CaffeineCaffeine 

Changing User's Default Division Programatically

Working for a VLO and we are trying to set up a process to use integration to change the User's Default Division based on a feed from an external system. 

 

When you change a User's Default Division in the web client, a screen comes up and asks you whether you want to change the Division for all of the records that the user owns.  Is there any way to duplicate this programmatically?  Or would we have to actually query for all of the records that the user owns and change the Division for all objects that the user owns?

 

Thanks.