1

I'm using ASP.NET 5 and MVC 6 and Identity. In Identity the AspNetUserRoles table hold the roles the users has.

I need to modify AspNetUserRoles so I also include information about Organization, so a user have different roles in different organizations. So I need to do a call like this:

_userManager.AddToRoleAsync(adminUsr, "Purchase", OrganizationUnit24);

Is this possible to fix in any way

Ola Ekelund
  • 111
  • 1
  • 7

0 Answers0