| Contents > Developing ColdFusion MX Applications > Managing LDAP Directories > Advanced topics > Specifying an attribute that includes a comma or semicolon |
|
|
|
|
||
LDAP attribute values can contain commas. The cfldap tag normally uses commas to separate attribute values in a value list. Similarly, an attribute can contain a semicolon, which cfldap normally uses to delimit (separate) attributes in an attribute list. To override the default separator and delimiter characters, you use the cfldap tag separator and delimiter attributes.
For example, assume you want to add the following attributes to an LDAP entry:
cn=Proctor, Goodman, and Jones description=Friends of the company; Rationalists
Use the cfldap tag in the following way:
<cfldap action="modify" modifyType="add" attributes="cn=Proctor, Goodman, and Jones: description=Friends
of the company; Rationalists" dn="uid=goodco, ou=People, o=Airius.com" separator="&" delimiter=":" server=#myServer# username=#myUserName# password=#myPassword#>
|
|
||
| Contents > Developing ColdFusion MX Applications > Managing LDAP Directories > Advanced topics > Specifying an attribute that includes a comma or semicolon |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/ldap23.htm