Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

LDAP.AddList

Adds an entry to a tree.

Component Version macOS Windows Linux Server iOS SDK
LDAP 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No

Deprecated

This function was deprecated. Use LDAP.AddJSON instead.

MBS( "LDAP.AddList"; LDAPRef; dn; Type; List )   More

Parameters

Parameter Description Example
LDAPRef The reference number for the LDAP connection. $ldap
dn The name of the entry to add.
Type The name of the attribute to add.
List The value for the attribute as a list. "Hello¶World"

Result

Returns OK or error.

Description

Adds an entry to a tree.
The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed.
The list of values are transformed into a list for LDAP.

Deprecated. Please use LDAP.AddJSON instead.

Examples

Add a list of values to a value:

MBS("LDAP.AddList"; $$connectLDAP; "CN=Test_FMPRO_TEMPO2,OU=Eleves,DC=mss,DC=qc,DC=ca"; "objectClass"; "user¶top¶person¶organizationalPerson")

See also

Release notes

Blog Entries

This function checks for a license.

Created 20th July 2016, last changed 12nd June 2020


LDAP.AddJSON - LDAP.AddRecord