using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.Entities; using EMIS.ViewModel; using System.ServiceModel; using System.ServiceModel.Web; using EMIS.ViewModel.SystemView; using EMIS.ViewModel.SystemManage.UserManage; namespace EMIS.CommonLogic.SystemServices { public interface IUserServices { bool Login(string loginID, string password); string SSOLogin(); Sys_User GetUserByLoginID(string loginID, bool isNeedEnable = true); List GetUserListByLoginID(IList loginIDList, bool isNeedEnable = true); UserView GetUserViewByID(Guid userID); Bowin.Common.Linq.Entity.IGridResultSet GetUserViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, Guid? roleID, int? dataRangeID, int? stauts, int pageIndex, int pageSize); IList GetUserViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, Guid? roleID, int? dataRangeID); Bowin.Common.Linq.Entity.IGridResultSet GetStudentUserViewList(ViewModel.ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? educationID, int? schoolYearID, int? standardID, int? learnFormID, Guid? classMajorID,string LearnSystem, int pageIndex, int pageSize); IList GetStudentUserViewList(ViewModel.ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? educationID, int? schoolYearID, int? standardID, int? learnFormID, Guid? classMajorID, string LearnSystem); void BatchInitPassword(IList userID, bool isChange,string pwd); void UnUsable(IList userID); void Usable(IList userID); void SaveUserRoles(Guid userID, IList roleID); IList GetUserInchargeCampus(Guid userID); IList GetUserInchargeCollege(Guid userID); IList GetUserInchargeDepartment(Guid userID); IList GetUserRoles(Guid userID); /// /// 获取用户权限最多的角色(主要用于登录时自动获取角色) /// /// /// Sys_Role GetMaxPrivilegeRoleByUserID(Guid userID); IList GetUserRolesView(Guid userID); void SaveUserCampus(Guid userID, IList campusID); void SaveUserCollege(Guid userID, IList collegeID); void SaveUserDepartment(Guid userID, IList departmentID); string GetUserEmail(Guid userID); void ChangePassword(ChangePasswordView password, Guid userID); Sys_User GetUserByID(Guid userID); void SynHRServices(); } }