Result Event
Fired for every server response, except search responses.
Syntax
ldap.on('Result', listener: (e: {readonly messageId: number, readonly DN: string, readonly resultCode: number, readonly resultDescription: string}) => void )
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.