Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.0

Copy User Data

Introduction

This function is meant to solve the following problem:

  1. A site has been exported from 1.2 to 2.0.
  2. After upgrading a number of manual changes was made to the 2.0 site.
  3. The 2.0 site was tested to ensure that everything worked correctly.

These three steps will necessarily have taken some time; it might be everything from a couple of hours to a couple of weeks.

While these steps were taken, the 1.2 site was active, and there is the possibility that new users has registered or that existing users has changed their passwords in the 1.2 site.

In this situation, you would probably want to be able to update the 2.0 site with the user information from the 1.2 site so that the newly created users are also defined in the new site.

How to copy users from the 1.2 site to the 2.0 site

Export from the 1.2 site

Make a new export from the 1.2 site using the export tool. As only the users are going to be used, select "No Roles" for Users and for Site Elements.

Import Users to 2.0 site

Open the import tool.

Select the site, you want to update (the one you have upgraded).

Specify the path and name of the new file generated by the export in the "Import File" field.

You can also specify a file name and path in the "Log file for users import" field. If you do so, the login name of all users that has been created during the import will be written to this file.

Press the "Import Users" button.

This takes a short while, depending on the number of records in the file.

Resulting definitions in the 2.0 site

For each user registered in the export file it is checked whether the user exists in the 2.0 site. This check is based on the login name of the user.

If the user does not exist in the 2.0 site, the user will be created. Only the basic user information will be created, no roles will be assigned, and no folder list will be assigned directly to these users.

You will have to assign the roles manually to the new users before they can access the site.

If the user already exists in the 2.0 site and either the password, e-mail, full name, number of failed logins, or the user status has been changed, the existing user is updated. The roles and folder list assigned to the user will not be not updated.

Log file

If you specify a file name and path for the "Log file for users import" field, a text file containing the login names of the new and changed users is created.

 

Please note that as the password of existing users are updated based on the import file, the password of the WSADMIN user will be changed to the value that has been specified in the 1.2 site (if the WSADMIN user has not been deleted in the 1.2 site).

This also means that if the WSADMIN user has been set to inactive in the 1.2 site, he will also be set to inactive in the 2.0 site.

To be certain that you can access the administration interface of the 2.0 site after importing the user definitions it is recommended that you create an administrator user in the 2.0 site with a login name that is not used for any users in the 1.2 site.