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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

LDAP.Modify

Changes an existing entry.

Component Version macOS Windows Linux Server iOS SDK
LDAP 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No

Deprecated

This function was deprecated. Use LDAP.ModifyJSON instead.

MBS( "LDAP.Modify"; LDAPRef; OperationType; dn; Type { ; Value } )   More

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.

Deprecated. Please use LDAP.ModifyJSON instead.

See also

Release notes

Blog Entries

This function checks for a license.

Created 15th December 2015, last changed 12nd June 2020


LDAP.List - LDAP.ModifyJSON

💬 Ask a question or report a problem