view Agendas/trunk/src/Agendas.Web/Views/Shared/_LogOnPartial.cshtml @ 179:1deccd6c3cb2

Aplicando seguridad x roles en sitio web
author nelopauselli
date Mon, 08 Aug 2011 15:24:26 -0300
parents f6e4af3a0b09
children
line wrap: on
line source

@if(Request.IsAuthenticated) {
    <text>Bienvenido <b>@Html.DisplayName()</b>!
    [ @Html.ActionLink("Salir", "LogOff", "Account") ]</text>
}
else {
    @:[ @Html.ActionLink("Ingresar", "LogOn", "Account") ]
}