on_search_complete Event

Fired upon completion of a search operation.

Syntax

class LDAPSearchCompleteEventParams(object):
  @property
  def message_id() -> int: ...
  @property
  def dn() -> str: ...
  @property
  def result_code() -> int: ...
  @property
  def result_description() -> str: ...

# In class LDAP:
@property
def on_search_complete() -> Callable[[LDAPSearchCompleteEventParams], None]: ...
@on_search_complete.setter
def on_search_complete(event_hook: Callable[[LDAPSearchCompleteEventParams], None]) -> None: ...

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

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