public void Logout()
        {
            RolodexIdentity  identity  = RolodexIdentity.UnauthenticatedIdentity();
            RolodexPrincipal principal = new RolodexPrincipal(identity);

            Csla.ApplicationContext.User = principal;
        }
Beispiel #2
0
 private static void SetPrincipal(IIdentity identity)
 {
     RolodexPrincipal principal = new RolodexPrincipal(identity);
     Csla.ApplicationContext.User = principal;
 }
Beispiel #3
0
 public void Logout()
 {
     RolodexIdentity identity = RolodexIdentity.UnauthenticatedIdentity();
     RolodexPrincipal principal = new RolodexPrincipal(identity);
     Csla.ApplicationContext.User = principal;
 }
        private static void SetPrincipal(IIdentity identity)
        {
            RolodexPrincipal principal = new RolodexPrincipal(identity);

            Csla.ApplicationContext.User = principal;
        }