The following steps are valid for versions 7.1.x and above:
The creation of Employees based on ADSAccounts is implemented out-of-the-box.
To control the behavior there are two configuration parameters available:
- Using TargetSystem\ADS\PersonAutoFullSync with the CREATE option, a sync will create the Employees based on existing AD accounts.
- Using TargetSystem\ADS\PersonAutoDefault will work as well, with CREATE, when an ADSAccount is created.
One action is done by the FullSync (TargetSystem\ADS\PersonAutoFullSync), the other for all manual actions (TargetSystem\ADS\PersonAutoDefault).
In the end either the process "ADS_ADSAccount_Insert" will be generated (for inserts/updates of accounts by the sync) or the process "ADS_ADSAccount_Update_UpdatePerson" (for manual inserts/updates).
Both processes contain a ScriptExec job which executes the script "ADS_PersonAuto_Mapping_ADSAccount" or "ADS_PersonUpdate_ADSAccount".
The creation of an Employee for the given account is implemented in these scripts. So it would be possible to use these scripts to create Employee objects: either call this script for single cases in the Object Browser (ScriptTester) or in the Designer. Or create a custom defined process/script/... which calls one of the mentioned scripts.