AnsweredAssumed Answered

check if a user is in a group[Solved]

Question asked by michaelc on Jul 12, 2010
Latest reply on Jul 13, 2010 by michaelc
Let me try asking this question another way.

How in Surf can I see if a user is in a given group ?
I wish to allow/dissllow a link based on the user being in a group, like you have for admin.

   <#if user.isAdmin>
   <div class="toolbar">
      <a href="#" id="${args.htmlid}-createSite-button" class="theme-color-1">${msg("link.createSite")}</a>
   </div>
   </#if>

Any help would be appreciated
Regards
  Michael C

Outcomes