Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 458

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
If an entry belongs to a class that derives from another class, the entry's objectclass attribute lists the lowest-level class
and all the superior classes from which the lowest-level class derives.
When you add, modify, or delete a directory entry, you must treat the entry's object class as a possibly multivalued
attribute. For example, when you add a new entry, you specify the object class in the cfldap tag
To retrieve an entry's object class names, specify "objectclass" in the list of query attributes. To retrieve entries that
provide a specific type of information, you can use the object class name in the
Attribute type
The attribute type specification of a schema defines the following properties:
• The attribute type name
• A unique object ID that identifies the attribute type
• (Optional) An indication of whether the type is single-valued or multivalued (the default is multivalued)
• The attribute syntax and matching rules (such as case sensitivity)
The attribute type definition can also determine limits on the range or size of values that the type represents, or provide
an application-specific usage indicator. For standard attributes, a registered numeric ID specifies the syntax and
matching rule information. For more information on attribute syntaxes, see ETF RFC 2252 at
http://www.ietf.org/rfc/rfc2252.txt.
Operational attributes, such as creatorsName or modifyTimeStamp, are managed by the directory service and cannot
be changed by user applications.
Using LDAP with ColdFusion
The cfldap tag extends the ColdFusion query capabilities to LDAP network directory services. The
use LDAP in many ways, such as the following:
• Create Internet White Pages so users can locate people and resources and get information about them.
• Provide a front end to manage and update directory entries.
• Build applications that incorporate data from directory queries in their processes.
• Integrate applications with existing organizational or corporate directory services.
The
tag
attribute supports the following operations on LDAP directories:
cfldap
action
Action
Description
query
Returns attribute values from a directory.
Adds an entry to a directory.
add
delete
Deletes an entry from a directory.
Adds, deletes, or changes the value of an attribute in a directory entry.
modify
modifyDN
Renames a directory entry (changes its distinguished name).
The following table lists the attributes that are required and optional for each action. For more information on each
attribute, see the cfldap tag in the CFML Reference.
Last updated 1/20/2012
attributes
tag
attribute.
cfldap
filter
tag lets you
cfldap
453
attribute.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents