Result Event
Fired for every server response, except search responses.
Syntax
ldap.on('Result', [callback])
Callback
The 'callback' is called when the 'Result' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.messageId e.DN e.resultCode e.description
Remarks
The MessageId parameter identifies the corresponding request. ResultCode and ResultDescription show whether the operation was successful (on a successful operation, the ResultCode is 0). For a full list of possible result codes, see the ResultCode property.