File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,8 @@ Example:
213
213
const change = new ldap.Change ({
214
214
operation: ' add' ,
215
215
modification: {
216
- pets: [' cat' , ' dog' ]
216
+ type: ' pets' ,
217
+ values: [' cat' , ' dog' ]
217
218
}
218
219
});
219
220
@@ -234,7 +235,13 @@ must be one of:
234
235
| add | Adds the attribute value(s) referenced in ` modification ` . The attribute may or may not already exist. |
235
236
| delete | Deletes the attribute (and all values) referenced in ` modification ` . |
236
237
237
- ` modification ` is just a plain old JS object with the values you want.
238
+ ` modification ` is just a plain old JS object with the required type and values you want.
239
+
240
+ | Operation | Description |
241
+ | -----------| -------------|
242
+ | type | String that defines the attribute type for the modification. |
243
+ | values | Defines the values for modification. |
244
+
238
245
239
246
# modifyDN
240
247
` modifyDN(dn, newDN, controls, callback) `
You can’t perform that action at this time.
0 commit comments