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.resultDescription
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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]