Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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