Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

LDAP.SearchResult.AttributeCount

Queries number of attributes for an entry.

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

Parameters

Parameter Description Example
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

Result

Returns number or error.

Description

Queries number of attributes for an entry.

Examples

Query number of attributes in an entry:

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

See also

Example Databases

Blog Entries

This function is free to use.

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


LDAP.Search - LDAP.SearchResult.AttributeName

💬 Ask a question or report a problem