Migrate live site K13 users and their roles

2025/09/29 7:40 AM

Hi,

Migrating K13 users to Xbk members is pretty straightforward, but I haven't read anything about where K13 user roles are assigned in Xbk.

Has anyone had experience with this?


Environment

  • Xperience by Kentico version: 30.8.2
Tags:
Security Migration / upgrade

Answers

2025/09/30 4:41 AM
Accepted answer

To prevent this role data from being lost, I went with the following approach:

For the relevant role, I created a custom field (boolean) (https://docs.kentico.com/13/managing-users/adding-custom-fields-to-users#adding-custom-fields-to-users). This extra field acts as a kind of dummy field for the migration tool because the migration tool does create this field in the Xbk database.

In the migration tool, I adjusted the MemberInfoMapper so that when this field is mapped, true or false is set here if the K13 user has this role.

This results in XbK in a new boolean field for the member (https://docs.kentico.com/documentation/developers-and-admins/development/registration-and-authentication/add-fields-to-member-objects). We can now adjust the Xbk code so that we can make use of the extra field on the ExtendedApplicationUser.

Hope this helps

2025/09/30 7:26 PM

Adding some additional details - the Kentico Migration Tool does not support migrating live site member roles because Xperience by Kentico does not have any built-in support for managing this kind of data.

In Kentico Xperience 13, marketer administration users and website visitor users were all the same thing, differentiated by their permission to access the Xperience administration.

In Xperience by Kentico, users refer to people logging into the administration UI and members refer to website visitors who have accounts. The data is separate, as are the APIs to manage them.

We are planning to add native website membership management in a future product update.

In the meantime is there is:

  1. An open-source community contributed membership role management library.
  2. An example of using content tags to assign membership access to content in the Kentico Community Portal.

To response this discussion, you have to login first.