How can I get current role name???

From: 冷自泉 (brhhk_at_swnu.edu.cn)
Date: 03/19/04

  • Next message: 冷自泉: "Which methord is best?--Create page base on roles!"
    Date: Fri, 19 Mar 2004 23:30:02 +0800
    
    

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


  • Next message: 冷自泉: "Which methord is best?--Create page base on roles!"