<%@ Page Language="vb" %>
<html>
<head>
<title>User property example</title>
<script runat="server">
Sub Page_Load()
Message.Text = "Authenticated: " & User.Identity.IsAuthenticated & "<br/>"
Message.Text &= "User Name: " & User.Identity.Name
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>
|