Fetching Users in Group

Clovis

Member
Hi!

I'm trying edit a template to list the members in a certain group, however I'm not sure how to get it to list the members in a group.

I know how to get if users are defined as 'Moderators' or 'Administrators' but not a specific group.

Eg:
Code:
<div class="subHeading">Trainee</div>

    <div class="secondaryContent staffList">
    <xen:foreach loop="$superModerators" value="$user">
        <xen:include template="StaffList" />
    </xen:foreach>
    </div>
Right now, it just lists Moderators, but I want it to list users with Primary or Secondary group of Trainee. Possible later if they're a member of a certain group AND a super moderator.

Any advice?

Thanks!
 
Top Bottom