KLDAP Library
ldapobject.cpp
bool hasAttribute(const QString &attributeName) const
Returns true if the given attributethe exists, false otherwise.
Definition ldapobject.cpp:148
LdapAttrValue values(const QString &attributeName) const
Returns all values of the attribute with the given name.
Definition ldapobject.cpp:130
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:139
void addValue(const QString &attributeName, const QByteArray &value)
Adds the given value to the specified attribute.
Definition ldapobject.cpp:125
void setValues(const QString &attributeName, const LdapAttrValue &values)
Sets the given attribute values.
Definition ldapobject.cpp:120
void setAttributes(const LdapAttrMap &attrs)
Sets the attributes and attribute values of the object.
Definition ldapobject.cpp:85
const LdapAttrMap & attributes() const
Returns the attributes and their values.
Definition ldapobject.cpp:95
QString toString() const
Returns the text presentation (LDIF format) of the object.
Definition ldapobject.cpp:100
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:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.