- Print
- DarkLight
- PDF
1. User import management
1.1 Generate a token
Generating a token gives temporary access to a person for the use of Constellio. This option does not allow you to manage security, which consists of giving permissions on content, nor roles that are equivalent to permissions granted on Constellio features.
- Click on " Administration " in the navigation menu;
- Click on " Manage Users ";
- In the " List of users" window, click on the magnifying glass icon to the right of the name of the user for whom you wish to generate a token;
- Click on " Generate token ";
- Indicate the duration of the temporary access (days/hours), then on " Generate a token ".
1.2 Import users
This option allows you to import users, however, this is only available if you have not configured your Network Directory with Constellio. This option does not allow you to assign security to Constellio content or roles to users.
Creating the import file:
- In an XML file, enter the following information;
- To add a user, change the information in red between the tags <userCredential username=" " > and </userCredential>.
Buoy | Example | Description |
<userCredential username=" " > | <userCredential username="rbenjelloun"> | Allows you to specify the user name of the person to add. |
<firstName> </firstName> | <firstName>Rida</firstName> | The person's first name. |
<lastName> </lastName> | <lastName>Benjelloun</lastName> | The person's last name. |
<email> </email> | <email>rida.benjelloun@constellio.com</email> | The person's business email. |
Buoy | Example | Description |
<globalGroups multivalue="true"/> <item> </item> <collections multivalue="true"> | <globalGroups multivalue="true"/> <item> manager</item> <collections multivalue="true"> | Allows the user to be added to groups. To add the user to multiple groups, duplicate the line <item> </item> by entering the group name between each of the tags. |
<collections multivalue="true"> <item> </item> </collections> | <collections multivalue="true"> <item>collection</item> </collections> | Allows you to identify access to collections for each user. To add the user to multiple collections, duplicate the line <item> </item> by entering the group name between each of the tags. |
<status></status> | <status>a</status> | Allows you to specify the status of the user: a=active, s=suspended. d=disabled. |
- To add multiple users, we must copy and complete the information several times between <userCredential username=" "> and </userCredential>, one after the other as many times as we have users to add.
1.2.1 Adding the file to Constellio
After the creation of the XML file, it must be uploaded to Constellio to create the users.
- Click on " Administration " in the navigation menu;
- Click on " Import Users ";
- In the window that appears, select the collections to which you want users to have access. This step is equivalent to the ability to register directly in the file the collections accessible to the user. It is therefore optional;
- Click on browse to choose the XML file and then click on " Start Import ".
After processing, a message will be displayed indicating that the operation was completed successfully. If errors have been detected, these will also be indicated in a message.
2. Configurations
Configuration | Description | Possible values | Impacts |
Pattern of user titles | Allows you to set the display order of the user name. | ${firstName} | Forename |
${lastName} | Surname |