Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Version 13.4
- Added check to LDAP.ModifyJSON and LDAP.Modify to complain if dn is empty.
- Version 13.0
- Fixed a memory leak in LDAP.AddJSON and LDAP.ModifyJSON and added additional checks for the passed in JSON.
- Version 10.3
- Added option to LDAP.AddJSON and LDAP.ModifyJSON to include boolean keys "hex" and "base64" in JSON with true value to pass values as hex/base64 string, which the plugin decodes and passes to LDAP server.
- Version 10.1
- Deprecated LDAP.Modify and LDAP.ModifyRecord in favor of LDAP.ModifyJSON.
- Version 8.0
- Added JSON functions for LDAP: LDAP.AddJSON, LDAP.JSON and LDAP.ModifyJSON.
- Version 7.0
- Added LDAP.AddRecord and LDAP.ModifyRecord functions.
Blog Entries
This function checks for a license.
Created 15th December 2015, last changed 12nd June 2020
