Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

loop a cfldap query

$
0
0


I'm trying to get a list of users in a distribution group through a cfldap query, but my record count is always 1.

 

I've tried:

 

<cfloop query="results">

<cfoutput>

Name: #cn# Email: #mail#<br/>

</cfoutput>

</cfloop>

 

<cfoutput>#results.RecordCount#</cfoutput> Value I get back is 1.

 

Also tried

<cfdump> <cftable> but the results are always the first record.

I'm thinking I need to loop the query and create a list somehow, but I'm getting lost in all the online documentation. Could someone point me in the right direction?

 

Mahalo;

 

Charles


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>