I have the need to maintain some data for users in my application that indicates what customer/company that user belongs to (they could potentially be in more than one) and subsequently what data they will have access to because of that association. From reading other posts about potentially extending the built in user entity it sounds like the better approach would be to implement claims. Could you point me in the direction of the proper place in which to make that modification?
2 Answer(s)
-
0
Hi,
If you are using ASP.NET Core version, you can check this gist <a class="postlink" href="https://gist.github.com/ismcagdas/6f2a9a3b5d7b907cb8d94a72124d59a1">https://gist.github.com/ismcagdas/6f2a9 ... 72124d59a1</a>.
If you are using ASP.NET MVC 5.x, then we will prepare a sample gist for that as well. Please let us know if you are using MVC 5.x.
Thanks.
-
0
Thanks! I am using the mvc +angular version. Any input or example you may have on that would be very helpful.