FindApprox (LDAP function)

From m204wiki
Jump to navigation Jump to search

<section begin=dpl_desc/><section end=dpl_desc/>

FindApprox is a member of the 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

[%st =] %ld:FindApprox( attrib, searchString, %doc, - [, AttributesOnly=bool] - [, ReturnAttributes=%sl] - [, 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".