How can I ge current role name???

À

Àä×ÔȪ

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!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top