Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Changes an existing entry.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP 7.0 Yes Yes Yes Yes No

MBS( "LDAP.ModifyRecord"; LDAPRef; OperationType; dn; Type { ; Value; TypeN; ValueN } )


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


Returns OK or error.


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.

LDAP.ModifyJSON   -   LDAP.Release

Feedback: Report problem or ask question.

MBS FileMaker blog