PhenixID

Write to LDAP by Delete and Add

Version: 1.4

Category: Output

Extended Category: LDAP

Action Package: Standard Actions

Description

Write attribute values to LDAP. Due to performance reasons, some directories perform a DELETE-ADD operation quicker than a REPLACE operation. This action forces a LDAP DELETE method followed by a LDAP ADD method.

ParameterDescriptionExample
Save Attributes (* for all modified)[Mandatory]
The attributes to be saved. If replacing values using delete and add operation, you must also enter session attribute names containing the current value in the LDAP data source. This way, the delete operation will only remove the attribute values that should be removed.
Use newValueAttribute1|oldValueAttribute1,
newValueAttribute2|oldValueAttribute2.
Supports SESSION() and GLOBAL().
*
Force Data Source[Optional]
Always write to this data source.
AD
DN Location[Optional]
The attribute where the DN is stored. Leave blank for the session object name.
MatchedDN
Stop on Failure in One Object[Optional]
Stop the action if a failure occurs for one session object. (true/false)
Default: false.
true
Stop if no LDAP Connection[Optional]
Stop the action if no connection to the LDAP data source. (true/false)
Default: true.
false
Error Message Attribute[Optional]
If a failure occurs, place any error message into this attribute. Leave blank to ignore.
error

Use Cases

Example 1: Update manager and department

This action will update manager and department attribute in the LDAP directory. It will do so by deleting the LDAP attribute and then adding a new one.

ParameterExample
Save Attributes (* for all modified)manager,department
Force Data SourceHSA
DN Location[BLANK]
Stop on Failure in One Object[BLANK]
Stop if no LDAP Connection[BLANK]
Error Message Attribute[BLANK]

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se