Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 22, 2008 02:36 AM by chetan.sarode
Member
2 Points
3 Posts
Jan 18, 2008 06:46 PM|LINK
I'm looking to put the name of the user that is logged in currently in the upper right hand corner next to the log out hyperlink.
Is this at all possible and has anyone done it before?
424 Points
465 Posts
Jan 18, 2008 08:17 PM|LINK
Use the LoginName control in the Login Section of the tool box.
<asp:LoginName ID="LoginName1" runat="server" FormatString="Welcome:{0} " />
Will show Welcome: username
All-Star
65619 Points
11118 Posts
Jan 21, 2008 02:44 AM|LINK
You have to use asp:LoginName control for that and configure FormatString property
<asp:LoginName id="LoginName1" runat="server" FormatString="Welcome, {0}" />
http://forums.asp.net/p/808700/882617.aspx
http://msdn2.microsoft.com/de-de/library/ms228310(VS.80).aspx
Jan 22, 2008 02:36 AM|LINK
Thanks for marking as answer
jripper
Member
2 Points
3 Posts
Viewing logged in user
Jan 18, 2008 06:46 PM|LINK
I'm looking to put the name of the user that is logged in currently in the upper right hand corner next to the log out hyperlink.
Is this at all possible and has anyone done it before?
bendJoe
Member
424 Points
465 Posts
Re: Viewing logged in user
Jan 18, 2008 08:17 PM|LINK
Use the LoginName control in the Login Section of the tool box.
<asp:LoginName ID="LoginName1" runat="server" FormatString="Welcome:{0} " />
Will show Welcome: username
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Viewing logged in user
Jan 21, 2008 02:44 AM|LINK
You have to use asp:LoginName control for that and configure FormatString property
<asp:LoginName id="LoginName1" runat="server"
FormatString="Welcome, {0}" />
http://forums.asp.net/p/808700/882617.aspx
http://msdn2.microsoft.com/de-de/library/ms228310(VS.80).aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Viewing logged in user
Jan 22, 2008 02:36 AM|LINK
Thanks for marking as answer
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.