Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the values for an attribute in an entry.

Component Version macOS Windows Linux Server iOS SDK
LDAP 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "LDAP.SearchResult.AttributeValues"; LDAPRef; EntryIndex; AttributeIndex { ; NoReturnEnding } )   More


Parameter Description Example Flags
LDAPRef The reference number for the LDAP connection. $ldap
EntryIndex The index in the search results.
Range from 0 to LDAP.SearchResult.EntryCount-1.
AttributeIndex The index of the attibute.
From 0 to LDAP.SearchResult.AttributeCount-1.
NoReturnEnding Pass 1 to have no extra newline character on the end of the returned list. Default is 1 to include none, so a list with one value behaves as a text value. 1 Optional


Returns list or error.


Returns the values for an attribute in an entry.
Value may be hex encoded if the attribute is considered binary data like an uuid (see LDAP.SetBinaryKeys).

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 15th December 2015, last changed 2nd November 2022

LDAP.SearchResult.AttributeValueCount - LDAP.SearchResult.AttributeValuesByName