SearchPage Event

Fired for every page returned from a search operation.

Syntax

public open class DefaultLdapEventListener : LdapEventListener {
  ...
  public override fun searchPage(e: LdapSearchPageEvent) {}
  ...
}

public class LdapSearchPageEvent {
  val messageId: Int
  val dn: String?
  val resultCode: Int
  val resultDescription: String?
  var cancelSearch: Boolean
}

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) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]