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

LDAP.SearchResult.DistinguishedName

Queries distinguished name for an entry in search results.

Component Version macOS Windows Linux Server iOS SDK
LDAP 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "LDAP.SearchResult.DistinguishedName"; 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 value or error.

Description

Queries distinguished name for an entry in search results.
This is like the unique record ID for this entry.

Examples

Query distinguished name for an entry:

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

See also

Example Databases

Blog Entries

This function is free to use.

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


LDAP.SearchResult.Count - LDAP.SetBinaryKeys