Using LDAP with ColdFusion

The cfldap tag extends the ColdFusion query capabilities to LDAP network directory services. The cfldap tag lets you use LDAP in many ways, such as the following:

The cfldap tag action attribute supports the following operations on LDAP directories:

Action Description

query

Returns attribute values from a directory.

add

Adds an entry to a directory.

modify

Adds, deletes, or changes the value of an attribute in a directory entry.

delete

Deletes an entry from a directory.

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 CFML Reference.

Action Required attributes Optional attributes

query

server, name, start, attributes

port, username, password, timeout, secure, rebind, referral, scope, filter, sort, sortControl startRow, maxRows, separator, delimiter

add

server, dn, attributes

port, username, password, timeout, secure, rebind, referral, separator, delimiter

modify

server, dn, attributes

port, username, password, timeout, secure, rebind, referral, modifyType, separator, delimiter

modifyDN

server, dn, attributes

port, username, password, timeout, secure, rebind, referral

delete

server, dn

port, username, password, timeout, secure, rebind, referral


View comments in LiveDocs