Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Is it Roles or Visitor Groups that you mean?
For users in Roles (admins, editors etc) try something like this:
Inject UIRoleProvider.
private readonly Injected<UIRoleProvider> _roleProvider;
Then use the method "GetUsersInRole":
var groupName = "WebEditors"; var userNames = _roleProvider.Service.GetUsersInRole(groupName);
Hi,
I want to get the List of all users inside a Group in my code, is there any Repository that can provide me with that information.
Thanks,
Anurag