transform_scripts
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| transform_scripts [12/30/2024 06:52] – created johnsonjohn | transform_scripts [12/31/2025 05:42] (current) – removed johnsonjohn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Transform Scripts===== | ||
| - | ---- | ||
| - | ====LDAP Transform ==== | ||
| - | < | ||
| - | //JWJ0215 2022 | ||
| - | // The manager coming in from LDAP is the DN value for the manager. | ||
| - | // The line of code below will locate the manager that matches the | ||
| - | // DN value and set it into the target record. To ignore the manager | ||
| - | // from LDAP, remove or comment out the line: ldapUtils.setManager(source, | ||
| - | // | ||
| - | // NOTE: The ' | ||
| - | // if the manager is brought in through an LDAP import. | ||
| - | // here and in the ' | ||
| - | ldapUtils.setManager(source, | ||
| - | |||
| - | // Set the source LDAP server into the target record | ||
| - | target.ldap_server = source.sys_import_set.data_source.ldap_target.server; | ||
| - | |||
| - | // Set the u_manager_status boolean | ||
| - | if (source.u_extensionattribute11 == ' | ||
| - | target.u_manager_status = true; | ||
| - | } else { | ||
| - | target.u_manager_status = false; | ||
| - | } | ||
| - | </ | ||
| - | ----- | ||
transform_scripts.1735570362.txt.gz · Last modified: by johnsonjohn
