Mega Code Archive
Categories
/
ASP.Net Tutorial
/
Authentication Authorization
The LoginName control displays the current users registered username
If the current user is not authenticated, the LoginName control renders nothing. <%@ Page Language="C#" %>
Show LoginName
Additional information is available to registered users. Log in to view the additional information.