Please or Register to create posts and topics.

How to add bulk users from one organization to other?

  1. If we need to move a single user from one organization to other, we can do it from the user interface
    1. Go to Desktop then to Users
    2. From top menu click on Manage
    3. In this screen you can find Add Existing Users
    4. from the dropdown select the user and click on Add button they will automatically be added to this organization.​​​​
  2. But if we want to ADD bulk users, then we can do it from the backend using some database queriesSay we want to move these three users who are in the XXX organization (say group_id = 1)
    1. knr@abc.us
    2. kbpr@abc.us
    3. sg@abc.us

Use the SQL query below to ADD all these three users to the YYY organization (Say group_id = 2),

Code:

INSERT INTO usergroups
(group_id, is_admin, user_id)
VALUES
SELECT 2, 'N', user_id FROM users 
WHERE email_address 
IN ('', '', '')

 

HELP: Use below query to find group_id's

Code:

select * from groups