Files
zsxt_nbzs_h5/Api/Ewide.Core/Manager/IUserManager.cs

26 lines
838 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
namespace Ewide.Core
{
public interface IUserManager
{
string Account { get; }
string Name { get; }
bool SuperAdmin { get; }
SysUser User { get; }
string UserId { get; }
Task<SysUser> CheckUserAsync(string userId);
Task<SysUser> CheckUserAsync();
Task<SysEmp> GetUserEmpInfo(string userId);
Task<SysEmp> GetUserEmpInfo();
Task<SysOrg> GetUserOrgInfo(string userId);
Task<SysOrg> GetUserOrgInfo();
Task<List<string>> GetUserRoleIdList(string userId);
Task<List<string>> GetUserRoleIdList();
Task<List<SysRole>> GetUserRoleList(string userId);
Task<List<SysRole>> GetUserRoleList();
Task<List<string>> GetLoginPermissionList();
}
}