FindLE (LDAP function): Difference between revisions
m (moved FindLE (Ldap function) to FindLE (LDAP function)) |
m (moved FindLE (Ldap function) to FindLE (LDAP function)) |
||
Line 1: | Line 1: | ||
{{Template:LDAP:FindLE subtitle}} | |||
This [[Notation conventions for methods#Callable methods|callable]] function | This [[Notation conventions for methods#Callable methods|callable]] function | ||
Line 13: | Line 8: | ||
<var>FindLE</var> with a search string | <var>FindLE</var> with a search string | ||
of <code>C</code> for the attribute type <code>sn</code>, for example, | of <code>C</code> for the attribute type <code>sn</code>, for example, | ||
would find every entry keyed with an “sn” value that begins with | would find every entry keyed with an &ldquo;sn&rdquo; value that begins with | ||
an “A” or “B”. | an &ldquo;A&rdquo; or &ldquo;B&rdquo;. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">[%st =] %ld:FindLE( attrib, searchString, %doc, - | <p class="syntax">[%st =] %ld:FindLE( attrib, searchString, %doc, - | ||
[, AttributesOnly=bool] - | [,&nbsp;AttributesOnly=bool] - | ||
[, ReturnAttributes=%sl] - | [,&nbsp;ReturnAttributes=%sl] - | ||
[, BaseObject=string] ) | [,&nbsp;BaseObject=string] ) | ||
</p> | </p> | ||
Line 26: | Line 21: | ||
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== | |||
{{Template:LDAP:FindLE footer}} |
Revision as of 22:54, 8 July 2011
Retrieve records with lesser attr string values from the 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
falls alphabetically before the search string you specify.
FindLE with a search string
of C
for the attribute type sn
, for example,
would find every entry keyed with an “sn” value that begins with
an “A” or “B”.
Syntax
[%st =] %ld:FindLE( 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".