Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 476

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
descloc = Find("DESC", thisElement);
syntaxloc = Find("SYNTAX", thisElement);
singleloc = Find("SINGLE", thisElement);
endloc = Len(thisElement);
</cfscript>
<tr>
<td><cfoutput>#Mid(thisElement, nameloc+6, descloc-nameloc-8)#
</cfoutput></td>
<td><cfoutput>#Mid(thisElement, descloc+6, syntaxloc-descloc-8)#
</cfoutput></td>
<cfif #singleloc# EQ 0>
<td><cfoutput>Yes</cfoutput></td>
<cfelse>
<td><cfoutput>No</cfoutput></td>
</cfif>
</tr>
</cfloop>
</table>
</body>
</html>
Change the server from
2
ldap.mycorp.com
password in the cfldap tag.
3
Save the template as
ldapschema.cfm
Reviewing the code
The following table describes the code and its function:
to your LDAP server. You might also need to specify a user ID and
in
under your web root directory and view it in your browser.
myapps
Last updated 1/20/2012
471

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents