You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
using System; |
|
using System.Collections.Generic; |
|
using System.Threading; |
|
using System.Threading.Tasks; |
|
using Volo.Abp.Identity; |
|
|
|
namespace Sanhe.Abp.Identity |
|
{ |
|
public interface IIdentityRoleRepository : Volo.Abp.Identity.IIdentityRoleRepository |
|
{ |
|
Task<List<IdentityRole>> GetListByIdListAsync( |
|
List<Guid> roleIds, |
|
bool includeDetails = false, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<OrganizationUnit>> GetOrganizationUnitsAsync( |
|
Guid id, |
|
bool includeDetails = false, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<OrganizationUnit>> GetOrganizationUnitsAsync( |
|
IEnumerable<string> roleNames, |
|
bool includeDetails = false, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<IdentityRole>> GetRolesInOrganizationUnitAsync( |
|
Guid organizationUnitId, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<IdentityRole>> GetRolesInOrganizationsListAsync( |
|
List<Guid> organizationUnitIds, |
|
CancellationToken cancellationToken = default); |
|
|
|
Task<List<IdentityRole>> GetRolesInOrganizationUnitWithChildrenAsync( |
|
string code, |
|
CancellationToken cancellationToken = default); |
|
} |
|
}
|
|
|