小新二三事 二三事 電視精/戲院 ASP .NET 新手工作日誌

2009年9月12日星期六

ASP.NET Code: 用 RoleGroups 分唔同 LoginView

ASP.NET Code: 用 RoleGroups 分唔同 LoginView

ASP.Net 2.0 LoginView Control
LoginView provides the functionality to create different views for the users of different Roles. LoginView control consists of 3 different templates:
1. AnonymousTemplate
2. LoggedInTemplate
3. RoleGroups
http://programming.top54u.com/post/ASP-Net-2-0-LoginView-Control.aspx

18.4 ASP.NET 2.0的授權
處理了要訪問Web應用程序的用戶的註冊和身份驗證之後,下一步就是授權。用戶可以查看什麼內容?要承擔什麼角色?這些對於任何Web應用程序來說都是很重要的問題。下面首先學習如何給驗證用戶顯示某些內容,給未驗證用戶顯示另外一些內容。
http://book.csdn.net/bookfiles/469/10046916564.shtml

沒有留言: