Use two User classes in Identity

Asked

Viewed 46 times

1

How to use 2 classes as User in Identity.

Ex. The site will have an administration area, and will use the default "Applicationuser" class that generates an "Aspnetusers" table from Identity to log in.

In this administration area these users, may register customers who should inherit from Identityuser, customers will log in in a totally independent environment.

  • Why not give permissions by Roles? Role= Admin / Role= Client

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.