IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

SearchPage Event

Fired for every page returned from a search operation.


ldap.on('SearchPage', listener: (e: {readonly messageId: number, readonly DN: string, readonly resultCode: number, readonly resultDescription: string, cancelSearch: boolean}) => void )


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 Auth 2020 JavaScript Edition - Version 20.0 [Build 8262]