Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
LDAP.AddRecord
Adds an entry to a tree.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| LDAP | 7.0 | Yes | Yes | Yes | Yes | No |
Deprecated
This function was deprecated. Use LDAP.AddJSON instead.
MBS( "LDAP.AddRecord"; LDAPRef; dn; Type { ; Value; ... } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| 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 | The value for the attribute. | Optional | |
| ... | More pairs of attribute types and values follow. | Optional |
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.
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.
Deprecated. Please use LDAP.AddJSON instead.
Examples
Add two values:
MBS( "LDAP.Add"; $ldap; "test"; "cn"; "Hello"; "fn"; "World" )
See also
Blog Entries
Release notes
- Version 10.1
- Deprecated LDAP.Add, LDAP.AddList, LDAP.AddRecord in favor of LDAP.AddJSON.
- Version 7.0
- Added LDAP.AddRecord and LDAP.ModifyRecord functions.
Created 5th January 2017, last changed 24th July 2020
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins