SearchPage Event
Fired for every page returned from a search operation.
Syntax
ldap.on('SearchPage', [callback])
Callback
The 'callback' is called when the 'SearchPage' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.messageId e.DN e.resultCode e.description e.cancelSearch
Remarks
This event is where the client can decide whether to continue with the Search operation or not. The signature is very similar to the SearchComplete event, with the addition of a CancelSearch parameter. If the search should be canceled (no more pages), the CancelSearch parameter should be set to true.