Mega Code Archive

 
Categories / ASP.Net / Login Security
 

Displaying the username of the authenticated user

<%@ Page Language="VB" %>     <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">     <title>Login or Logout</title> </head> <body>     <form id="form1" runat="server">         <asp:LoginStatus ID="LoginStatus1" Runat="server" />         <p><asp:LoginName ID="LoginName1"                            Runat="server"                           Font-Bold="True"                            Font-Size="Large"/></p>     </form> </body> </html>