Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
LDAP.SearchResult.AttributeValue
Queries a value from search results.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
LDAP | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "LDAP.SearchResult.AttributeValue"; LDAPRef; EntryIndex; AttributeIndex; ValueIndex ) 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 |
AttributeIndex | The index of the attibute. From 0 to LDAP.SearchResult.AttributeCount-1. |
0 |
ValueIndex | The index of the value. Must be range from zero to LDAP.SearchResult.AttributeValueCount-1. |
0 |
Result
Returns text or error.
Description
Queries a value from search results.Value may be hex encoded if the attribute is considered binary data like an uuid (see LDAP.SetBinaryKeys).
See also
- LDAP.Connect
- LDAP.JSON
- LDAP.Rename
- LDAP.Search
- LDAP.SearchResult.AttributeCount
- LDAP.SearchResult.AttributeNames
- LDAP.SearchResult.AttributeValueCount
- LDAP.SearchResult.AttributeValues
- LDAP.SearchResult.Count
- LDAP.SetBinaryKeys
Release notes
- Version 7.4
- Added LDAP.SearchResult.AttributeValuesByName function.
This function is free to use.
Created 15th December 2015, last changed 2nd November 2022
LDAP.SearchResult.AttributeNames - LDAP.SearchResult.AttributeValueCount