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
Is it possible to get all members using multiple Roles. I have looked at the Memberservice GetMembersInRole but this only allows a single role to passed in. Is there a way to get all members who have multiple roles, for example:
If not that way would there be an alternative way?
Off the top of my head you could do something like this.
Inside a surface controller or helper class
var listofRoles = new List<string>
foreach (var role in listofRoles)
var members = MemberService.GetMembersInRole(role);
//Do what you want me the member
Hope that helps!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted