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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
LDAP.ModifyRecord
Changes an existing entry.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
LDAP
|
7.0 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
❌ No
|
Deprecated
This function was deprecated. Use LDAP.ModifyJSON instead.
MBS( "LDAP.ModifyRecord"; LDAPRef; OperationType; dn; Type... { ; Value... } )
More
MBS(
"LDAP.ModifyRecord"; /* Changes an existing entry. */
$LDAPRef; /* The reference number for the LDAP connection.e.g. $ldap */
$OperationType; /* What to do. Can be Delete, Replace or Add.e.g. "Replace" */
$dn; /* The name of the entry to modify. */
$Type...; /* The name of the attribute to modify. */
$Value...) /* Optional; The value for the attribute. */
Less
Parameters
Parameter |
Description |
Example |
Flags |
LDAPRef |
The reference number for the LDAP connection. |
$ldap |
|
OperationType |
What to do. Can be Delete, Replace or Add. |
"Replace" |
|
dn |
The name of the entry to modify. |
|
|
Type... |
The name of the attribute to modify. |
|
|
Value... |
The value for the attribute. |
|
Optional |
Result
Returns OK or error.
Description
Changes an existing entry.
If values are being added to or replaced in the entry, the function creates the attribute, if necessary. If values are being deleted, the function removes the attribute if no values remain.
This version of the Modify 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.ModifyJSON instead.
This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Type and Value parameters as often as you need.
See also
Release notes
Blog Entries
Created 5th January 2017, last changed 5th June 2021
LDAP.ModifyJSON
-
LDAP.Release
Feedback: Report problem or ask question.