KLdap
ldapsearch.h
76 [[nodiscard]] bool search(const LdapServer &server, const QStringList &attributes = QStringList(), int count = 0);
This class represents a connection to an LDAP server.
Definition ldapconnection.h:24
This class starts a search operation on a LDAP server and returns the search values via a Qt signal.
Definition ldapsearch.h:33
void continueSearch()
Continues the search (if you set count to non-zero in search(), and isFinished() is false)
Definition ldapsearch.cpp:307
QString errorString() const
Returns the error description of the search operation.
Definition ldapsearch.cpp:331
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:258
void result(KLDAPCore::LdapSearch *search)
Emitted when the searching finished.
bool isFinished() const
Returns true if the search is finished else returns false.
Definition ldapsearch.cpp:316
int error() const
Returns the error code of the search operation (0 if no error).
Definition ldapsearch.cpp:326
void data(KLDAPCore::LdapSearch *search, const KLDAPCore::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:275
void setClientControls(const LdapControls &ctrls)
Sets the client controls which will sent with each operation.
Definition ldapsearch.cpp:265
void setServerControls(const LdapControls &ctrls)
Sets the server controls which will sent with each operation.
Definition ldapsearch.cpp:270
A class that contains LDAP server connection settings.
Definition ldapserver.h:27
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.