FindGE (LDAP function): Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:LDAP:FindGE subtitle}} | {{Template:LDAP:FindGE subtitle}} | ||
This [[Notation conventions for methods#Callable | This [[Notation conventions for methods#Callable functions|callable]] | ||
function retrieves all records (entries) from the LDAP directory | 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 the attribute type you specify has a value that matches equally or | ||
Line 8: | Line 8: | ||
<var>FindGE</var> with a search string | <var>FindGE</var> with a search string | ||
of <code>A</code> for the attribute type <code>sn</code>, for example, | of <code>A</code> for the attribute type <code>sn</code>, for example, | ||
would find every entry keyed with an &amp;ldquo;sn&amp;rdquo; value that begins with | would find every entry keyed with an &amp;amp;ldquo;sn&amp;amp;rdquo; value that begins with | ||
&amp;ldquo;A&amp;rdquo;. | &amp;amp;ldquo;A&amp;amp;rdquo;. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">[%st =] %ld:FindGE( attrib, searchString, %doc, - | <p class="syntax">[%st =] %ld:FindGE( attrib, searchString, %doc, - | ||
[,&amp;nbsp;AttributesOnly=bool] - | [,&amp;amp;nbsp;AttributesOnly=bool] - | ||
[,&amp;nbsp;ReturnAttributes=%sl] - | [,&amp;amp;nbsp;ReturnAttributes=%sl] - | ||
[,&amp;nbsp;BaseObject=string] ) | [,&amp;amp;nbsp;BaseObject=string] ) | ||
</p> | </p> | ||
Revision as of 19:40, 14 July 2011
Retrieve records with greater 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 after the search string you specify.
FindGE with a search string
of A
for the attribute type sn
, for example,
would find every entry keyed with an &amp;ldquo;sn&amp;rdquo; value that begins with
&amp;ldquo;A&amp;rdquo;.
Syntax
[%st =] %ld:FindGE( attrib, searchString, %doc, - [,&amp;nbsp;AttributesOnly=bool] - [,&amp;nbsp;ReturnAttributes=%sl] - [,&amp;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".