Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am working on a Umbraco 7 site and want to show members on the front end of the site.
The list of members shown is according to the chosen membergroup.
Example:user a is a member of membergroup 1 and 2user b is a member of membergroup 1
When I filter on membergroup 1 I only want to see user a
I found the code to list all groups: memberService.GetAllRoles();And also the code to list all member: memberService.GetAllMembers();
The issue is to filter like .GetAllMembers().Where(group=1) or something like that.Is this possible?
How about using the GetMembersByGroup method?
That's what I was looking for.
Thank's for the fast reply!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted