FindApprox (LDAP function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:LDAP:FindApprox subtitle}}


<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
This [[Notation conventions for methods#Callable functions|callable]] function
[[Category:Ldap methods|FindApprox function]]
<p>
<var>FindApprox</var> is a member of the <var>[[Ldap class|Ldap]]</var> class.
</p>
 
This [[Notation conventions for methods#Callable methods|callable]] function
retrieves all records (entries) from the LDAP directory
retrieves all records (entries) from the LDAP directory
for which the attribute type you specify has a value
for which the attribute type you specify has a value
that matches equally or for which some locally-defined approximate matching
that matches equally or for which some locally-defined approximate matching
algorithm (based on spelling variations or phonetic match, for example) returns
algorithm (based on spelling variations or phonetic match, for example) returns
&ldquo;True&rdquo; for the search string you specify.
"True" for the search string you specify.
==Syntax==
==Syntax==
<p class="syntax">[%st =] %ld:FindApprox( attrib, searchString, %doc,  -
{{Template:LDAP:FindApprox syntax}}
                      [,&nbsp;AttributesOnly=bool]        -
                      [,&nbsp;ReturnAttributes=%sl]      -
                      [,&nbsp;BaseObject=string] )
</p>


The syntax terms and most of the usage notes for this function are the
The syntax terms and most of the usage notes for this function are the
same as those for <var>[[FindEQ (Ldap function)|FindEQ]]</var>.
same as those for <var>[[FindEQ (LDAP function)|FindEQ]]</var>.
 
For additional information, see [[LDAP class#Using the Find methods|"Using the Find methods"]].


For additional information, see [[LDAP Helper#Using the Find methods|"Using the Find methods"]].
==See also==
{{Template:LDAP:FindApprox footer}}

Latest revision as of 23:09, 15 August 2011

Retrieve records with approximate attr values fromthe LDAP directory (LDAP class)


This callable function retrieves all records (entries) from the LDAP directory for which the attribute type you specify has a value that matches equally or for which some locally-defined approximate matching algorithm (based on spelling variations or phonetic match, for example) returns "True" for the search string you specify.

Syntax

[%number =] ldap:FindApprox( string, string, doc, [AttributesOnly= boolean], - [ReturnAttributes= stringlist], - [BaseObject= string])

The syntax terms and most of the usage notes for this function are the same as those for FindEQ.

For additional information, see "Using the Find methods".

See also