private static bool SetPrincipal(IIdentity identity)
        {
            SilverlightPrincipal principal = new SilverlightPrincipal(identity);

            Csla.ApplicationContext.User = principal;
            return(identity.IsAuthenticated);
        }
 private static bool SetPrincipal(IIdentity identity)
 {
     SilverlightPrincipal principal = new SilverlightPrincipal(identity);
       Csla.ApplicationContext.User = principal;
       return identity.IsAuthenticated;
 }