Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

LDAP.SearchResult.AttributeValuesByName

Returns the values for an attribute in an entry.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP 7.4 Yes Yes Yes Yes No

MBS( "LDAP.SearchResult.AttributeValuesByName"; LDAPRef; EntryIndex; AttributeName { ; NoReturnEnding } )

Parameters

Parameter Description Example value
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
AttributeName The name of the attribute. "FirstName"
NoReturnEnding Optional
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

Result

Returns value, list or error.

Description

Returns the values for an attribute in an entry.
This function searches attributes by name instead of index.
If nothing is found, you get empty result.

See also


LDAP.SearchResult.AttributeValues   -   LDAP.SearchResult.Count

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins