<%@ Page Language="C#" AutoEventWireup="true" CodeFile="secure2.aspx.cs" Inherits="admin_secure2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:LoginView ID="LoginView1" runat="server" Visible="True" >
<RoleGroups>
<asp:RoleGroup Roles="RoleAdmin">
<ContentTemplate>
<asp:LoginName ID="LoginName4" runat="server" />
is viewing the <b>Admin Role </b>template.<br />
<br />
<asp:LoginStatus ID="LoginStatus2" runat="server" />
</ContentTemplate>
</asp:RoleGroup>
</RoleGroups>
<AnonymousTemplate>
fdgdg
</AnonymousTemplate>
</asp:LoginView>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">HyperLink</asp:HyperLink>
<br />
This is a secure page
</div>
</form>
</body>
</html>