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
As described in this documentation, we can fetch details of members by their username. But I want to fetch member details in bulk for a list of usernames. How can I do that?
you can use the memberservice to Get all members
If you have roles setup you could also use
But this will return all the members. I just want to return only few specific member details.
you can use a where clause to limit the results.
List<string> filterMembers = new List<string>();
memberService.GetAllMembers().Where(x => filterMembers.Contains(x.Name));
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted