IUserServices.cs 713 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMISOnline.Entities;
  6. using EMISOnline.ViewModel.SystemView;
  7. namespace EMISOnline.CommonLogic.SystemServices
  8. {
  9. public interface IUserServices
  10. {
  11. bool Login(string loginID, string password);
  12. UserView GetUserByLoginID(string loginID, bool isNeedEnable = true);
  13. void BatchInitPassword(IList<Guid?> userID);
  14. //IList<RoleView> GetUserRolesView(Guid userID);
  15. //string GetUserEmail(Guid userID);
  16. //void ChangePassword(ChangePasswordView password, Guid userID);
  17. Sys_User GetUserByID(Guid userID);
  18. IList<Sys_Role> GetUserRoles(Guid userID);
  19. }
  20. }