LDAP

Frends.LDAP.UpdateUser / 1.2.0

Summary

Modifies a user object's attributes, and can move or rename it by changing its distinguished name.

Typical use — mover processing, where a department change means both new attributes and a new place in the tree

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input parameters.

Name Type Default Example Description
ModificationMethod ModificationMethod Add ModificationMethod.Add

Modification method.

Possible values:

  • Add: Adds the listed values to the given attribute, creating the attribute if it does not already exist.

  • Delete: Deletes the listed values from the given attribute, removing the entire attribute (1) if no values are listed or (2) if all current values of the attribute are listed for deletion.

  • Replace: Replaces all existing values of the given attribute with the new values listed, creating the attribute if it does not already exist. A replace with no value deletes the entire attribute if it exists, and is ignored if the attribute does not exist.

CreateDN Boolean False false

Set true to create distinguished name (DN) from Input.CommonName and Input.Path instead of using Input CreateDN.

DistinguishedName String CN=Tes TUser,ou=users,dc=wimpi,dc=net

Distinguished name (DN).

CommonName String Firstname Lastname

Common name (CN).

Path String CN=Users,DC=Example,DC=Com CN=Users,DC=Example,DC=Com

Directory path.

Attributes Attributes[] Telephone, +358123456789

Attributes to be updated.

An unhandled error has occurred. Reload 🗙