IMPORTANT: PERFORM IMPORT STEPS IN THE SAME ORDER AS LISTED IN THIS CHAPTER.
For this step, it is assumed you already imported the typography, font layouts, fonts, hyphenations, libraries and formats, titles, workstates, edition numbers, layer types, geometry presets, and groups.
Remove the Administrator and Guest from the exported file
Before importing the users.xml file, review it in any ASCII editor, and then remove users Administrator and Guest - if they exist in the file. That is to avoid the complications due to the replacement of two default GN4 users.
Add the default password to every user.
Before importing the users.xml file, review it in any ASCII editor, and then add the default password. This is because the users are exported without password, but they cannot sign in to the GN4 if their password is blank. The solution is to add a temporary password to every user.
You can do it in two ways:
•Search and replace <user with <user password="123"
•Use regular expressions in Notepad++, e.g.
1.Select "Search mode" Regular expression
2.Find what: user="(?<1>[0-9;a-z;A-Z]*)"
3.Replace with: user="$1" password="GN4_$1"
Import users
This topic describes the command line to import users exported from GN3 database:
c:\Tera\gn4\bin\srv4 import -in users.xml -opt C:\gn3-2-gn4\GN3Change.xsl
Note
•It is assumed you have the folder C:\gn3-2-gn4\ and that is contains the specified XSL style sheet.
•It is assumed the users.xml was previously exported from GN3 as explained in Export users and groups.
•It is assumed that you execute this command on the GN4 IIS server, and in the folder where the exported files are stored.
•It is assumed that srv4.exe is available on the specified path.