You could use fnLDAPQuery() as well.