c# - How to get users not in role, -


Is there no specific role any effective way to get a list of users?

Only the methods I can see

  1. Get all users from DB and check in code

  2. Go directly to DB and role provider

    one And the method is to expand the RoleProvider's method with GetUsersNotInRole () and thereby query the DB. You can also add RoleProvider.GetUsersInRole () to MembershipProvider.GetAllUsers () and find the difference

Comments