123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.Entities;
- using EMIS.ViewModel.SystemView;
- using EMIS.ViewModel;
- using System.ServiceModel;
- using System.ServiceModel.Web;
- 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();
- Guid? StudentRegist(RegistView registView);
- Sys_User GetUserByUserID(Guid? userID, bool isNeedEnable = true);
- bool LoginHistory(string LoginID, bool isSuccess);
- }
- }
|