예제 #1
0
        public void AssignUserToCache(UserCache.LoginFrom userLoginFrom)
        {
            DataTable userCredential = GetUserDetails();
            Guid      userGuid       = Guid.Empty;

            Guid.TryParse(userCredential.Rows[0]["UserGuid"].ToString(), out userGuid);

            _UserCache.AddUserToLoginList(userGuid, userCredential.Rows[0]["UserName"].ToString(),
                                          userCredential.Rows[0]["FullName"].ToString(), userLoginFrom);
        }