how to get all users in a role c# code example Example: usermanager find based on role var userThatYouWant = _userManager.GetUsersInRoleAsync("RoleName");