/// <summary> /// 修改密码 /// </summary> /// <param name="User_Id">访问的用户标识</param> /// <param name="Customer_Id">访问的客户标识</param> /// <param name="Unit_Id">访问的组织标识</param> /// <param name="userId">需要修改的用户标识</param> /// <param name="userPwd">需要修改的密码</param> /// <returns></returns> public bool SetUserPassword(string User_Id, string Customer_Id, string Unit_Id, string userId, string userPwd) { UserInfo userInfo = new UserInfo(); cUserService userServices = new cUserService(); LoggingSessionInfo loggingSessionInfo = new LoggingSessionInfo(); loggingSessionInfo = new BaseService().GetLoggingSessionInfoByCustomerId(Customer_Id); string strError = string.Empty; cUserService userService = new cUserService(); bool b = userService.ModifyUserPassword_JK(loggingSessionInfo, userId, userPwd, out strError); if (b) { return(b); } else { throw new Exception(string.Format(strError, strError)); return(b); } }