Hi All,
just a quick question. Do you have any documentation to share or to point me to if I want to show to a logged-in user his or her name instead of his or her username?
I am using visual studio 2013 and using asp.net identity with webforms.
The default code looks like this:
<asp:LoginView runat="server" ViewStateMode="Disabled">
<AnonymousTemplate>
<li class="signin"><a runat="server" href="~/account/login">SIGN IN</a>
</li>
</AnonymousTemplate>
<LoggedInTemplate>
<li class="signedin">
<a runat="server" href="~/account/manage"> Hi <%: Context.User.Identity.GetUserName() %></a>
<ul class="mysubmenu">
<li><a runat="server" href="~/account/manage">Manage your account</a> <span class=" ...
Go to the complete details ...