IP*Works! 2016 Node.js Edition
IP*Works! 2016 Node.js Edition
Questions / Feedback?

SearchResult Event

Fired for every entry returned from a search operation.

Syntax

ldap.on('SearchResult', [callback])

Callback

The 'callback' is called when the 'SearchResult' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.messageId
e.DN

Remarks

MessageId identifies the corresponding search request. DN contains the Distinguished Name of the entry, while the attribute type and value provided in the Attributes properties, show the list of retrieved attributes for the entry.

Every search operation results in a sequence of 0 or more SearchResult events, a sequence of 0 or more SearchResultReference events, followed by a SearchComplete event.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
IP*Works! 2016 Node.js Edition - Version 16.0 [Build 7239]