KLDAP Library
ldapsearch.h
This class represents a connection to an LDAP server.
Definition ldapconnection.h:37
This class starts a search operation on a LDAP server and returns the search values via a Qt signal.
Definition ldapsearch.h:46
void continueSearch()
Continues the search (if you set count to non-zero in search(), and isFinished() is false)
Definition ldapsearch.cpp:325
QString errorString() const
Returns the error description of the search operation.
Definition ldapsearch.cpp:347
void setConnection(LdapConnection &connection)
Sets the connection for this object to use for searches from now onwards, regardless of the LDAP Url ...
Definition ldapsearch.cpp:271
int error() const
Returns the error code of the search operation (0 if no error).
Definition ldapsearch.cpp:342
void data(KLDAP::LdapSearch *search, const KLDAP::LdapObject &obj)
Emitted for each result object.
bool search(const LdapServer &server, const QStringList &attributes=QStringList(), int count=0)
Starts a search operation on the LDAP server.
Definition ldapsearch.cpp:288
bool isFinished()
Returns true if the search is finished else returns false.
Definition ldapsearch.cpp:332
void setClientControls(const LdapControls &ctrls)
Sets the client controls which will sent with each operation.
Definition ldapsearch.cpp:278
void setServerControls(const LdapControls &ctrls)
Sets the server controls which will sent with each operation.
Definition ldapsearch.cpp:283
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.