KLDAPCore::LdapDN Class

The LdapDN class. More...

Header: #include <KLDAPCore/LdapDN>
CMake: find_package(KPim6LdapCore REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::LdapCore)

Public Functions

int depth() const
bool isValid() const
QString rdnString() const
QString rdnString(int depth) const
QString toString() const
QString toString(int depth) const

Detailed Description

Member Function Documentation

int LdapDN::depth() const

\returnsThe depth of this DN in the directory.

bool LdapDN::isValid() const

\returnsTrue if this is a valid DN, false otherwise.

QString LdapDN::rdnString() const

\returnsA QString representing the RDN of this DN.

QString LdapDN::rdnString(int depth) const

depth The depth of the RDN to return using a zero-based index. \returns A QString representing the RDN levels deep in the directory.

QString LdapDN::toString() const

\returnsA QString representing the DN.

QString LdapDN::toString(int depth) const

depth The depth of the DN to return using a zero-based index. \returns A QString representing the DN levels deep in the directory.