Result Event

Fired for every server response, except search responses.

Syntax

public open class DefaultLdapEventListener : LdapEventListener {
  ...
  public override fun result(e: LdapResultEvent) {}
  ...
}

public class LdapResultEvent {
  val messageId: Int
  val dn: String?
  val resultCode: Int
  val resultDescription: String?
}

Remarks

The MessageId parameter identifies the corresponding request. ResultCode and ResultDescription show whether the operation was successful (on a successful operation, the ResultCode is 0). For a full list of possible result codes, see the ResultCode property.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]