Some helped me with this same type of problem.

Here is the email they sent to me:

BTW go and get the custom tag... it is very nice.


There is a tag called CFX_QueryColumns in the allaire taggallery.  It will let you 
give any variable with a "-" another name as a substitute.

This may also help:

<CFSETTING ENABLECFOUTPUTONLY="YES">
<CFLDAP Name="GetUsersFromExchangeOld"
                ACTION="QUERY"
                SERVER="#ExchangeServer#"
                ATTRIBUTES="givenname,sn,assoc-nt-account"
                SORT="sn ASC"
                FILTER="(&
                                        (objectclass=organizationalPerson)
                                        (objectclass=person)
                                        (objectclass=top)
                                        (mapi-recipient=true)
                                )"
                USERNAME="#ExchangeLoginName#"
                PASSWORD="#ExchangeLoginPassword#"
                START=""
                SCOPE="subtree">


<CFX_QueryColumns QUERY="GetUsersFromExchangeOld" ACTION="GET"
VARIABLE="MyColumnList">
<CFSET NewColumnList = ReplaceNoCase(MyColumnList, "Assoc-NT-Account",
"UserNTSID")>
<CFSET NewColumnList = ReplaceNoCase(NewColumnList, "givenname",
"UserFirstName")>
<CFSET NewColumnList = ReplaceNoCase(NewColumnList, "sn", "UserLastName")>
<CFX_QueryColumns QUERY="GetUsersFromExchangeOld" ACTION="RENAME"
NEWQUERY="GetUsersFromExchange" NEWQUERYCOLUMNS="#NewColumnList#">
<CFSETTING ENABLECFOUTPUTONLY="NO">

under ATTRIBUTES="givenname,sn,assoc-nt-account", one of them is the email.
I cant remember which one, but there's a list I refer to in the forums.  It
will be there.



---------- Original Message ----------------------------------
From: cf - borders <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 2 May 2000 11:46:24 -0400 

>Using LDAP Explorer this is the path I want to query

ldap://exchange02_ph/cn=001-temp,cn=dxa
server,cn=configuration,ou=corp01_ph,o=bgi_mail

and the attribute is DXA-Conf-Container-List-Linked

I have tried using this script, but get No such attribute

<cfldap action="QUERY" 
name="GetUsers" 
attributes="DXA-Conf-Container-List-Linked" 
SCOPE="Subtree"
start="c=CORP01_PH" 
server="exchange02_ph">

Any Idea's would be greatly appreciated

Thanks

Rob
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to