OrchardCMS/OrchardCore

How to get all users who have no role assigned?

Open

#2,987 opened on Jan 8, 2019

View on GitHub
 (22 comments) (0 reactions) (0 assignees)C# (2,288 forks)batch import
good first issue

Repository metrics

Stars
 (6,998 stars)
PR merge metrics
 (Avg merge 3d 21h) (126 merged PRs in 30d)

Description

GetUsersInRoleAsyn("Role_Name") can only get users with the role: Role_Name But how to get all users who have no role assigned?

Thanks!

Contributor guide