Import users and roles using Import tool kit

Gideon Gontor asked on September 2, 2019 12:44

Is it possible to import users, enabled and assign roles to them using the import toolkit.

Correct Answer

Dmitry Bastron answered on September 2, 2019 13:00

Hi Gideon,

Yes, it is possible but it will be multi-step process. Assuming that in your source file/database you have some sort of UserID:

  1. Import users using (global objects) - Typical objects - User settings in Import Toolkit. At the end you will have .fkmap file (mapping external UserID to Kentico UserID) which may be useful on next step.

  2. Import user-role assignment with (global objects) - Many to many relationships - User role settings settings in Import Toolkit. You may require to specify .fkmap from previous step to use the correct UserID

2 votesVote for this answer Unmark Correct answer

Recent Answers


Roman Hutnyk answered on September 2, 2019 12:57

According to documentation you can import Users as well as roles.

I'm not sure if it is possible to import users, roles and user-to-roles relation all at once, but looking at many to many relation option on the first stem of import wizard I believe it should be possible to do that step by step:

  • import users
  • import roles
  • import user-to-roles relation
2 votesVote for this answer Mark as a Correct answer

Gideon Gontor answered on September 2, 2019 14:57

Hi Dmitry

Thanks for the help, I used the kentico site objects instead of Global objects.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.