Example: mldap_get_attrib_value
In the following example, the mldap_get_attrib_value function gets the value of the objectClass attribute.
while (mldap_get_next_entry("LDAP Get Next Entry", LAST)) { mldap_get_attrib_value("LDAP Get Attribute Value", "Name=objectClass", LAST ); }
In the following example, mldap_get_attrib_value retrieves the third value of the attribute with an index of 13 (13th attribute) and saves it to parameter xyz.
mldap_get_attrib_value("LDAP Get Attribute Value", "Index=13", "Offset=2", // Return the third value "Param=xyz", // Save return value to parameter xyz LAST );