Changing of users from one tenant to other


If i want to move user from one tenant to another with data of particular user,

Is there any way to do this ?

Hey Shivam,

How does your tenant setup look like?

I know you can use TenantSwitch() to change to a certain tenant (this will change the site.tenantid property), if you use Login() after this you can login the user to a different tenant (given the user has the same username in both tenants).

Or are you talking about being able to take the user from 1 tenant and place it inside the other?

In this case you could just update the user record by setting a different tenantId (go to properties of the entity and make sure the show tenant identifier option is checked)