12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- 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<Sys_User> GetUserListByLoginID(IList<string> loginIDList, bool isNeedEnable = true);
- UserView GetUserViewByID(Guid userID);
- Bowin.Common.Linq.Entity.IGridResultSet<UserView> GetUserViewList(ConfiguretView configuretView, Guid? campusID,
- Guid? collegeID, Guid? departmentID, Guid? roleID, int? dataRangeID, int? stauts, int pageIndex, int pageSize);
- IList<UserView> GetUserViewList(ConfiguretView configuretView, Guid? campusID,
- Guid? collegeID, Guid? departmentID, Guid? roleID, int? dataRangeID);
- Bowin.Common.Linq.Entity.IGridResultSet<StudentUserView> 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<ViewModel.SystemView.StudentUserView> GetStudentUserViewList(ViewModel.ConfiguretView configuretView,
- Guid? campusID, Guid? collegeID, int? educationID, int? schoolYearID, int? standardID, int? learnFormID,
- Guid? classMajorID, string LearnSystem);
- void BatchInitPassword(IList<Guid?> userID, bool isChange,string pwd);
- void UnUsable(IList<Guid?> userID);
- void Usable(IList<Guid?> userID);
- void SaveUserRoles(Guid userID, IList<Guid?> roleID);
- IList<CF_Campus> GetUserInchargeCampus(Guid userID);
- IList<CF_College> GetUserInchargeCollege(Guid userID);
- IList<CF_Department> GetUserInchargeDepartment(Guid userID);
- IList<Sys_Role> GetUserRoles(Guid userID);
- /// <summary>
- /// 获取用户权限最多的角色(主要用于登录时自动获取角色)
- /// </summary>
- /// <param name="userID"></param>
- /// <returns></returns>
- Sys_Role GetMaxPrivilegeRoleByUserID(Guid userID);
- IList<RoleView> GetUserRolesView(Guid userID);
- void SaveUserCampus(Guid userID, IList<Guid?> campusID);
- void SaveUserCollege(Guid userID, IList<Guid?> collegeID);
- void SaveUserDepartment(Guid userID, IList<Guid?> departmentID);
- string GetUserEmail(Guid userID);
- void ChangePassword(ChangePasswordView password, Guid userID);
- Sys_User GetUserByID(Guid userID);
- void SynHRServices();
- }
- }
|