1 Reply Latest reply on Mar 8, 2015 11:34 PM by meensi

    loop a cfldap query

    toleolu


      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