Problem with IsUserInRole() not working

This seems pretty simple to me AND it’s working on my work environment (BlueDragon 7 Server JX). But is crapping out at home with Coldfusion 8.

When I log a person in I set the roles attribute to a list of numbers (section id’s). Then to authorize each section I check the list with IsUserInRole().


<cfoutput query="head_nav">
     <cfif IsUserInRole(head_nav.id)>
          <li><a href="/#ReReplace(head_nav.name,' ','-','ALL')#/">#head_nav.name#</a></li>
     </cfif>
</cfoutput>

Any idea why this isn’t working? Seems pretty simple to me… but it’s not working in CF8.

okay, so no answers… that’s okay. BUT, my use of IsUserInRole() is correct, right?