Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 9.1 9.2 9.3 9.4 9.5 10.0 10.1 10.2 10.3 10.4 Statistic
Adds an entry to a tree.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|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.
DescriptionAdds 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:
|"values": ["Hello", "World"]|
Type is the name of the attribute, e.g. cn.
Version 10.1 or newer accepts name instead of type for the key to match the search results.
Version 10.3 adds new boolean fields "hex" and "base64". If true, we decode value from hex/base64 encoding and pass them as binary values.
Add a new employee to LDAP:
- MBS FileMaker Plugin, version 10.3pr9
- MBS FileMaker Plugin, version 10.1pr6
- With JSON in excellent form
- MBS FileMaker Plugin, version 8.0pr9
- MBS FileMaker Plugin, version 7.6pr2
- LDAP with JSON
- Version 10.3
- Version 10.1
- Version 8.0
Created 11st December 2017, last changed 11st July 2020
Feedback: Report problem or ask question.
MBS FileMaker tutorial videos