KLdap
ldapobject.cpp
bool hasAttribute(const QString &attributeName) const
Returns true if the given attributethe exists, false otherwise.
Definition ldapobject.cpp:130
LdapAttrValue values(const QString &attributeName) const
Returns all values of the attribute with the given name.
Definition ldapobject.cpp:112
QByteArray value(const QString &attributeName) const
Returns the first value of the attribute with the given name or an empty byte array if the attribute ...
Definition ldapobject.cpp:121
void addValue(const QString &attributeName, const QByteArray &value)
Adds the given value to the specified attribute.
Definition ldapobject.cpp:107
void setValues(const QString &attributeName, const LdapAttrValue &values)
Sets the given attribute values.
Definition ldapobject.cpp:102
void setAttributes(const LdapAttrMap &attrs)
Sets the attributes and attribute values of the object.
Definition ldapobject.cpp:67
const LdapAttrMap & attributes() const
Returns the attributes and their values.
Definition ldapobject.cpp:77
QString toString() const
Returns the text presentation (LDIF format) of the object.
Definition ldapobject.cpp:82
static QByteArray assembleLine(const QString &fieldname, const QByteArray &value, uint linelen=0, bool url=false)
Assembles fieldname and value into a valid Ldif line, BASE64 encodes the value if necessary and optio...
Definition ldif.cpp:57
ConstIterator
ConstIterator
QString arg(Args &&... args) const const
QString fromUtf8(QByteArrayView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.