User account/profile need to move from existed cluster to new cluster

I have created new cluster CB 6.6.0 with several nodes and using XCDR replicated all bucket into new cluster.
Now I have to copy my all user account username and password into new cluster instead of doing one by one.
Is there any way using this I can copy my all user account details from existed cluster to new cluster.
Because of this my prod has blocked.
Just waiting for reply ASAP>

Hello @SHARMG51,

For security reasons currently there is no way to get all the user details from an existing cluster. you can get most of the details but not the passwords. For more information see MB-23768 It has a script for backing and restoring user details but a new password has to be set on the restore.

Thanks,
Patrick