How can I ge current role name???

  • Thread starter Thread starter Àä×ÔȪ
  • Start date Start date
À

Àä×ÔȪ

I design my project base on roles FormsAuthentication.
with following config:

<location path="other">
<system.web>
<authorization>
<allow roles="vip"/>
<allow roles="mov"/>
<deny users="*" />
</authorization>
</system.web>
</location>

I want to konw how can i get the name of role in other page.
How can i judge which role the current user is?
Can i judge it from cookie?And how?
Thankes very much!!!
 
Back
Top