Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

ASP.Net Identity

$
0
0

I am starting to work with the new Identity model and I have a question.  In the old system there was Roles.GetRoles() to get a list of all the roles for the allplication.

I am seting up a screen to allow users to be created and I want ot have a drop down of all the roles in the ASPNetRoles Page.  I could query the table but is there something like GetRoles() in the new identity system so I could populate a drop down with a list?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>