开发者

Why does deny roles not work in membership?

开发者 https://www.devze.com 2023-02-09 18:24 出处:网络
<location path=\"MoviesReview.aspx\"> <system.web> <authorization&开发者_如何转开发gt;
<location path="MoviesReview.aspx">
        <system.web>
            <authorization&开发者_如何转开发gt;
                <deny roles="Users"/>
            </authorization>
        </system.web>
    </location>

I am not able to restrict roles of users to this movies page.What could be the problem?


Oh It worked! I hadnt set the role for the users! It's proper now.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号