Example #1
0
 private UserContext(LoginInfoModel user)
 {
     this.UserId = user.UserId;
     this.Name = user.Name;
     this.UserName = user.UserName;
     this.CompanyId = user.CompanyId;
 }
Example #2
0
 public void SignIn(LoginInfoModel user, bool createPersistentCookie = false)
 {
     SignIn(user.UserName, "100", user, createPersistentCookie);
 }