The task is to establish a connection to an Active Directory or Lightweight Directory Access Protocol server.

 
<cfldap 
server = "#someip#"
action="query" 
start="somestart#" 
username = "#someusername#" 
password = "#somepassowrd#" 
name = "results" 
scope="subtree" 
attributes = "#attributeslist#"
>
 