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
Rohit R 5Rohit R 5 

Refreshing the Sandbox then users data would be lost and new users would be loaded from Production.

Hi All,

When i refresh my Sandbox the users data would be lost and new users would be loaded from Production so i took a backup of sandbox users and i uploaded them to sandbox again after refresh activity. But this is a manual and time taking activity to add Users and related Permission Sets, Public Groups, Queues, etc. So please suggest best approach to automate this process using Code or any other alternative approach. 

Thanks in Advance..