- ·上一篇文章:翻译 一些很酷的.Net编程技巧
- ·下一篇文章:IE浏览器中一个值得关注的JS问题
ASP.NET学习——角色管理
web.sitemap :
aspx"
description="Edit the players in the squad"
roles="Reporter,Owner"/>
Admin/web.config :
aspx">
结果: 作为Reporter登陆,Admin/EditSquad.aspx链接和内容均可见。
若: web.sitemap : roles="Owner"/> ,作为Reporter登陆,链接和内容仍均可见。
若: Admin/web.config : ,作为Reporter登陆,仅链接可见。
若: web.sitemap : roles="Owner"/> ,Admin/web.config : ,作为Reporter登陆,链接和内容仍均不可见。
description="Edit the players in the squad"
roles="Reporter,Owner"/>
Admin/web.config :
结果: 作为Reporter登陆,Admin/EditSquad.aspx链接和内容均可见。
若: web.sitemap : roles="Owner"/> ,作为Reporter登陆,链接和内容仍均可见。
若: Admin/web.config :
若: web.sitemap : roles="Owner"/> ,Admin/web.config :


