FindApprox (LDAP function): Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 6: | Line 6: | ||
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 | ||
“True” for the search string you specify. | “True” for the search string you specify. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">[%st =] %ld:FindApprox( attrib, searchString, %doc, - | <p class="syntax">[%st =] %ld:FindApprox( attrib, searchString, %doc, - | ||
[,&nbsp;AttributesOnly=bool] - | [,&amp;nbsp;AttributesOnly=bool] - | ||
[,&nbsp;ReturnAttributes=%sl] - | [,&amp;nbsp;ReturnAttributes=%sl] - | ||
[,&nbsp;BaseObject=string] ) | [,&amp;nbsp;BaseObject=string] ) | ||
</p> | </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 ( | same as those for <var>[[FindEQ (LDAP function)|FindEQ]]</var>. | ||
For additional information, see [[LDAP Helper#Using the Find methods|"Using the Find methods"]]. | For additional information, see [[LDAP Helper#Using the Find methods|"Using the Find methods"]]. | ||
==See also== | ==See also== | ||
{{Template:LDAP:FindApprox footer}} | {{Template:LDAP:FindApprox footer}} |
Revision as of 22:58, 8 July 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
&ldquo;True&rdquo; for the search string you specify.
Syntax
[%st =] %ld:FindApprox( attrib, searchString, %doc, - [,&nbsp;AttributesOnly=bool] - [,&nbsp;ReturnAttributes=%sl] - [,&nbsp;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".