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

security roles

$
0
0

at the beginning  

1- i have 2 database file . first Default membership database file ,second database file i have created it using code first .

2- i have 3 roles Users,Members,Admins these 3 roles at Role table at membership database file .

3- i'm looking for SQL statement  or stored procedure to be able to get all the users whom have the member Role .

is there any way to do that using SQL statement ?? 

i used this way but couldn't bind this code with listview 


  • protected List<string> Members() {
    List<string> members = Roles.GetUsersInRole("Memeber").ToList();
    
    return members;
    }



Viewing all articles
Browse latest Browse all 4737

Trending Articles



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