Cfldap


<cfldap action="QUERY" name="auth" attributes="cn,sn,uid,givenName,dn,apple-keyword,uidNumber,gidNumber" start="cn=users,dc=directory,dc=schools,dc=org" 
filter="(&(objectclass=*)(uid=xx))" server="ldap.business.org" port="389" username="uid=danarashad,cn=users,dc=directory,dc=schools,dc=org" password="xx">

When I do a dump I can see the apple-keyword. But when I try to output

auth.apple-keyword.  

I get error apple doesn’t exists in auth.

I am pretty sure it has to do with the (-) in apple-keyword. Is there a way to convert this to a variable without the (-).

I’ve figured it out.
auth[“apple-keyword”][1]
Coldfusion Bracket notation