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 7.0 Yes Yes Yes Yes No
MBS( "LDAP.AddRecord"; LDAPRef; dn; Type { ; Value; TypeN; ValueN } )   More


Parameter Description Example value
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.
Value Optional
The value for the attribute.
TypeN Optional
nth attribute name.
ValueN Optional
nth attribute value.


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.
This version of the Add can add several keys and values with simple text values.
So please pass as many parameters as you need, always with key and value.


Add two values:

MBS( "LDAP.Add"; $ldap; "test"; "cn"; "Hello"; "fn"; "World" )

See also

Blog Entries

Created 5th January 2017, last changed 5th January 2017

LDAP.AddList   -   LDAP.Bind

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins