Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Adds an entry to a tree.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP JSON 8.0 Yes Yes Yes Yes No
MBS( "LDAP.AddJSON"; LDAPRef; dn; JSON )   More


Parameter Description Example value
LDAPRef The reference number for the LDAP connection. $ldap
dn The name of the entry to add.
JSON The JSON to parse.
Must be a JSON array with entries. Each entry has an element operation with Add, Replace, Delete or Increment. Also a node with name "type" and the type to set. Than you can pass with value a single value or with values a list of values.


Returns OK or error.


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.

Sample JSON for structure:

    "operation": "Add",
    "type": "xxx",
    "values": ["Hello", "World"]
    "operation": "Add",
    "type": "yyy",
    "value": "Other"

Blog Entries

Created 11st December 2017, last changed 20th February 2018

LDAP.Add   -   LDAP.AddList

Feedback: Report problem or ask question.

MBS Xojo Plugins