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

a few problems with Identity

$
0
0
<div class="post-text" itemprop="description">

I have a new project i created in VS 2013. I am using the identity system and i'm confused how to get a list of all users to the application and all roles int he application. I am trying to create some admin pages so i can add new roles, add roles to users, see who all is logged in or locked.

Anybody know how to do this?

Also, on my loginview, i add role groups and i cannot seem to get it to recognize that i have a role.  I also checked pages by adding restrictions in the web config and i cannot hit the page.  I know i have the admin role because i checked the database, so somehow the application is not using identity to see that i have the role.

<location path="Roles/Default.aspx">
    <system.web>
      <authorization>
        <allow roles="Admin"/>
        <deny users="*"/>
      </authorization>
    </system.web>
  </location>

</div>

Viewing all articles
Browse latest Browse all 4737

Trending Articles



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