KLDAP Library
ldapconnection.h
QString ldapErrorString() const
Returns the LDAP error string from the last operation.
Definition ldapconnection.cpp:391
const LdapServer & server() const
Returns the connection parameters which was specified with an LDAP Url or a LdapServer structure.
Definition ldapconnection.cpp:128
int connect()
Sets up the connection parameters with creating a handle to the LDAP server.
Definition ldapconnection.cpp:421
QString saslErrorString() const
Returns the SASL error string from the last SASL operation.
Definition ldapconnection.cpp:159
int getOption(int option, void *value) const
Gets an option from the connection.
Definition ldapconnection.cpp:373
void setUrl(const LdapUrl &url)
Sets the connection parameters via the specified url.
Definition ldapconnection.cpp:118
int setOption(int option, void *value)
Sets an option in the connection.
Definition ldapconnection.cpp:379
QString connectionError() const
Returns a translated error string if connect() failed.
Definition ldapconnection.cpp:172
bool setTimeLimit(int timelimit)
Sets the time limit for the connection.
Definition ldapconnection.cpp:409
void setServer(const LdapServer &server)
Sets the connection parameters via the specified server structure.
Definition ldapconnection.cpp:123
int ldapErrorCode() const
Returns the LDAP error code from the last operation.
Definition ldapconnection.cpp:385
void * saslHandle() const
Returns the opaqe sasl-library specific SASL object.
Definition ldapconnection.cpp:138
static QString errorString(int code)
Returns a translated error message from the specified LDAP error code.
Definition ldapconnection.cpp:143
void * handle() const
Returns the opaqe client-library specific LDAP object.
Definition ldapconnection.cpp:133
bool setSizeLimit(int sizelimit)
Sets the size limit for the connection.
Definition ldapconnection.cpp:397
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.