FindLE (LDAP function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:LDAP:FindLE 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|FindLE function]]
<p>
<var>FindLE</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 that matches equally or
for which the attribute type you specify has a value that matches equally or
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 &ldquo;sn&rdquo; value that begins with
would find every entry keyed with an "sn" value that begins with
an &ldquo;A&rdquo; or &ldquo;B&rdquo;.
an "A" or "B".
==Syntax==
==Syntax==
<p class="syntax">[%st =] %ld:FindLE( attrib, searchString, %doc,  -
{{Template:LDAP:FindLE 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:FindLE footer}}

Latest revision as of 21:55, 26 August 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

[%number =] ldap:FindLE( 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