How to update users in case of changes in external reference and login?
While synchronizing users, a user in the CSV file to synchronize is said to be similar to an existing IDhall user if they have the same login.
When an element of the directory cannot be added to the application due to a unique key violation, IDhall proposes to create a link between the entity of the directory and the similar entity already present in the application, so that they are considered as one and only one.
In order to avoid creating duplicate users, you must perform the synchronization in 2 steps:
- Launch a first synchronization with the "old" external reference and the new login in order to update the login only.
- Launch a second synchronization, this time with the new external reference and login - the application, by not finding the external reference, will suggest creating them but will detect a duplicate on the login and therefore will propose to make a link with existing users by updating their external reference.