LDAP methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (Automatically generated page update)
Line 20: Line 20:
                                         <span class="squareb">[</span><span class="literal" title="Stringlist">ReturnAttributes=</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="comma">,</span>      -
                                         <span class="squareb">[</span><span class="literal" title="Stringlist">ReturnAttributes=</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="comma">,</span>      -
                                         <span class="squareb">[</span><span class="literal" title="String">BaseObject=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                                         <span class="squareb">[</span><span class="literal" title="String">BaseObject=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%lDAP</span><span class="literal"> =</span> <span class="literal">%(LDAP):[[New (LDAP constructor)|New]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%lDAP</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(LDAP)</span><span class="squareb">]</span><span class="literal">:[[New (LDAP constructor)|New]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">lDAP</span><span class="literal">:[[Unbind (LDAP function)|Unbind]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">lDAP</span><span class="literal">:[[Unbind (LDAP function)|Unbind]]</span></p>

Revision as of 00:50, 23 August 2011

The syntax for each of the LDAP class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of LDAP methods.

[%number =] lDAP:Bind[( [JanusPort= string], [LDAPServer= string], - [PortNumber= number], [UserID= string], - [Password= string], [Options= string])]

%number = lDAP:ErrorNumber

%string = lDAP:ErrorText

[%number =] lDAP:FindApprox( string, string, doc, [AttributesOnly= boolean], - [ReturnAttributes= stringlist], - [BaseObject= string])

[%number =] lDAP:FindEQ( string, string, doc, [AttributesOnly= boolean], - [ReturnAttributes= stringlist], [BaseObject= string])

[%number =] lDAP:FindGE( string, string, doc, [AttributesOnly= boolean], - [ReturnAttributes= stringlist], [BaseObject= string])

[%number =] lDAP:FindLE( string, string, doc, [AttributesOnly= boolean], - [ReturnAttributes= stringlist], [BaseObject= string])

[%number =] lDAP:FindStringInCommonName( string, doc, - [AttributesOnly= boolean], - [ReturnAttributes= stringlist], - [BaseObject= string])

%lDAP = [%(LDAP)]:New

[%number =] lDAP:Unbind