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: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  


Queries the number of values for an attribute.

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

MBS( "LDAP.SearchResult.AttributeValueCount"; LDAPRef; EntryIndex; AttributeIndex )


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.
AttributeIndex The index of the attibute.
From 0 to LDAP.SearchResult.AttributeCount-1.


Returns number or error.


Queries the number of values for an attribute.
If the plugin has no value, this is zero. If the attribute is a list and has more than one entry, the result is > 1.


Query attribute values as list:

Set Variable [$AttributeValues; Value:MBS("LDAP.SearchResult.AttributeValues"; $ldap; $EntryIndex; $AttributeIndex; 1)]

See also

LDAP.SearchResult.AttributeValue   -   LDAP.SearchResult.AttributeValues

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins