Duende IdentityServer - USers in Role throws error

Tim Cadieux 21 Reputation points
2022-08-20T11:20:46.17+00:00

Just trying to get a list of the Users in a specific Role -

  var users = await _userManager.GetUsersInRoleAsync("Administrators");  

   return null;  

Throws

System.NotSupportedException: Serialization and deserialization of 'System.Action' instances are not supported. Path: $.MoveNextAction.

---> System.NotSupportedException: Serialization and deserialization of 'System.Action' instances are not supported.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
621 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tim Cadieux 21 Reputation points
    2022-08-24T15:00:44.19+00:00

    No one? Surely this is a straightforward query to make.

    0 comments No comments