You work in the Human Resources department and you manage employee information. Your company wants to merge the sales and marketing teams. You want to synchronize the list of employee information from the Sales team to the Sales and Marketing team so that you can manage users at the enterprise level.
You want to retrieve all user objects from the
Sales
organizational unit (OU) and write the user information to the
Sales&Marketing
OU within the
DC=ADPQAINFA,DC=COM
domain.
Create a mapping that reads the user objects and writes these records to Active Directory.
The following image shows the LDAP mapping example:
The mapping contains an LDAP source that contains Sales employee information. The Expression transformation transforms the parent DN of Sales to Sales&Marketing. The mapping output contains an LDAP data object write operation to write data to the Sales and Marketing team.
Mapping Input
The source for the mapping is an LDAP user object. To read data from the LDAP server, create a data object read operation called User_Read.
The following image shows the user information from the Sales team:
Transformations
Expression transformation. Transforms the parent DN from OU=Sales to OU=Sales&Marketing.
Mapping Output
The mapping output is an LDAP data object. To write data to the LDAP server, create a data object write operation called User_Write for the OU=Sales&Marketing.
The following image shows the target columns:
When you run the mapping, the Data Integration Service writes the sales information from the Sales OU to the Sales&Marketing OU.