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
SIVASASNKARSIVASASNKAR 

Does anyone know to mass change the running user on Reports

Hi 

We are deactivating the User as he left the company but there are many Reports that he has set as running user. Is there a way to mass change all the Reports to a different running user? I wish to get report's running User in Apex class, please let me know how can I acieve this.

Thanks,
Sivasankar
 
KaranrajKaranraj
Download your org meta data using Force.com IDE and then search for the user name which you are going to deactivate, which will list down the list of code and configuration compoenents which is using that user. Review it and replace with some other active user and then push your changes to server. If you like to change only on the Report and Dashboard, then chose only Report and Dashboard in your Eclipse while choosing the meta data components from your org.