Trying to get a user id based on the first and last name of user.
<cfldap name="employee"
server="my.server.org"
action="query"
attributes="sAMAccountName
,title,nam
e,employee
ID,descrip
tion,membe
rof,Logon Name,E-Mail Address, Last Name"
start="DC=root,DC=sutterhe
alth,DC=or
g"
filter="name=#curName#*"
sort="name asc"
username="#application.use
r.name#"
password="#application.use
r.pass#">
<cfdump var="#employee#">
This doesn't work for me. Not sure why.
Start Free Trial