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

LDAP.SearchResult.AttributeNames

Queries all names of attributes for an entry as a list.

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

Parameters

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.
$index
NoReturnEnding Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists. 1 Optional

Result

Returns list or error.

Description

Queries all names of attributes for an entry as a list.

Examples

Query names of attributes as list:

MBS( "LDAP.SearchResult.AttributeNames"; $ldap; $EntryIndex)

See also

This function is free to use.

Created 15th December 2015, last changed 16th December 2015


LDAP.SearchResult.AttributeName - LDAP.SearchResult.AttributeValue