()重复该过程并且分别输入Administrator Owner Manager和Reporter每一个在弹出式对话框的单独行中
单击OK按钮以关闭对话框并且返回到页面的Design View
()返回到LoginView控件的Common Tasks框从View下拉菜单中选择AnonymousTemplate并且在控件的主体中输入一些文字
当单击返回到Source View时将看到如下的代码
<%@ Page Language=VB MasterPageFile=~/sitemaster AutoEventWireup=false CodeFile=FanClubaspxvb
Inherits=FanClub Title=Fan Club %>
<asp:Content ID=Content ContentPlaceHolderID=mainContent runat=Server>
<asp:LoginView ID=FCLoginView runat=server>
<RoleGroups>
<asp:RoleGroup Roles=FanClubMember>
</asp:RoleGroup>
<asp:RoleGroup Roles=AdministratorOwnerManagerReporter>
</asp:RoleGroup>
</RoleGroups>
<AnonymousTemplate>
This is the anonymous template
</AnonymousTemplate>
</asp:LoginView>
</asp:Content>
[] [] [] [] []