Copy link to clipboard
Copied
How would I output part of the result variable? For example just output the name attribute to the page?
<cfldap
server = "secret"
action = "query"
name = "results"
start = "secret"
attributes="objectsid,name,employeenumber,memberof,title,mail,telephonenumber,givenname,s n,SAMAccountName,l,st,streetaddress,postalcode,physicalDeliveryOfficeName,depart ment"
username="MONEYCORP\presentation"
password= "tomorrow"
>
<cfdump var="#results#">
Copy link to clipboard
Copied
sorted
<cfoutput>#results.name#</cfoutput>