source:
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Shared/LogOnUserControl.ascx
@
12726
Last change on this file since 12726 was 5756, checked in by cfleisch, 14 years ago | |
---|---|
File size: 352 bytes |
Line | |
---|---|
1 | <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> |
2 | <% |
3 | if (Request.IsAuthenticated) { |
4 | %> |
5 | Welcome <b><%: Page.User.Identity.Name %></b>! |
6 | [ <%: Html.ActionLink("Log Off", "LogOff", "Account") %> ] |
7 | <% |
8 | } |
9 | else { |
10 | %> |
11 | [ <%: Html.ActionLink("Log On", "LogOn", "Account") %> ] |
12 | <% |
13 | } |
14 | %> |
Note: See TracBrowser
for help on using the repository browser.