You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function `LDAP.modify()` can modify attributes from a specific DN with parameters below:
238
238
- distinguishedName: String, specific DN
239
239
- attributes:[String:[String]], attributes as an dictionary to modify. In this dictionary, every attribute, as a unique key in the dictionary, could have a series of values as an array.
240
+
- method: specify if an attribute should be added, removed or replaced (default)
241
+
- add: LDAP_MOD_ADD | LDAP_MOD_BVALUES
242
+
- remove: LDAP_MOD_DELETE | LDAP_MOD_BVALUES
243
+
- replace: LDAP_MOD_REPLACE | LDAP_MOD_BVALUES
240
244
241
245
Both asynchronous modify() and synchronous modify() share the same parameters above, take example:
0 commit comments