Skip to main content

Preserve and reuse legacy usernames

Provisioning configuration example

Keep a history of usernames and email addresses to check new names against previously used values and restore identifiers when employees return.

At a glanceDirect link to At a glance

This example extends an existing account creation process with an internal lookup table. It records usernames and email addresses, including changes, and uses the source user's unique ID to find history when that person returns. The returning employee must have the same source ID as before.

PartPurpose
Lookup tableStore the user ID, username, email, and entry date for each history record.
Relations and filtersFind values to record and returning users with existing history.
Name generatorCheck new usernames and email addresses against historical values.
Mappings and jobWrite history and use stored identifiers in the existing provisioning process.

Before you beginDirect link to Before you begin

You need an existing account creation process and provisioning job, connected source and target systems, and a stable unique ID in the source data. This is an example of a common configuration; adapt object names and target fields to your environment. The screenshots use Active Directory as the target system and an internal table called hrEmployees as the source system.

For the foundation, see the provisioning tutorial. This example focuses on adding username history to that existing process.

Configure legacy username historyDirect link to Configure legacy username history

Create the internal lookup tableDirect link to Create the internal lookup table

Go to Configuration > Settings > Lookup tables > Add and name the table, for example LegacyUsernames.

ColumnValue
IDThe user's unique ID from the source data.
UsernameThe username to retain.
EmailThe email address to retain.
EnterDateThe date and time the history record is entered.
autoGUIDAn automatically generated key for each history row. An auto-incrementing ID is another option.

Use the generated row identifier as the table key so the table can retain multiple records for one employee ID.

Step 1 of 8