Interface IIdentityUserRepository
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public interface IIdentityUserRepository : IBasicRepository<IdentityUser, Guid>, IBasicRepository<IdentityUser>, IReadOnlyBasicRepository<IdentityUser, Guid>, IReadOnlyBasicRepository<IdentityUser>, IRepository
Methods
FindByLoginAsync(string, string, bool, CancellationToken)
Declaration
Task<IdentityUser> FindByLoginAsync(string loginProvider, string providerKey, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByNormalizedEmailAsync(string, bool, CancellationToken)
Declaration
Task<IdentityUser> FindByNormalizedEmailAsync(string normalizedEmail, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByNormalizedUserNameAsync(string, bool, CancellationToken)
Declaration
Task<IdentityUser> FindByNormalizedUserNameAsync(string normalizedUserName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByTenantIdAndUserNameAsync(string, Guid?, bool, CancellationToken)
Declaration
Task<IdentityUser> FindByTenantIdAndUserNameAsync(string userName, Guid? tenantId, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
GetCountAsync(string, Guid?, Guid?, string, string, string, string, string, bool?, bool?, bool?, bool?, DateTime?, DateTime?, DateTime?, DateTime?, CancellationToken)
Declaration
Task<long> GetCountAsync(string filter = null, Guid? roleId = null, Guid? organizationUnitId = null, string userName = null, string phoneNumber = null, string emailAddress = null, string name = null, string surname = null, bool? isLockedOut = null, bool? notActive = null, bool? emailConfirmed = null, bool? isExternal = null, DateTime? maxCreationTime = null, DateTime? minCreationTime = null, DateTime? maxModifitionTime = null, DateTime? minModifitionTime = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetListAsync(string, int, int, string, bool, Guid?, Guid?, string, string, string, string, string, bool?, bool?, bool?, bool?, DateTime?, DateTime?, DateTime?, DateTime?, CancellationToken)
Declaration
Task<List<IdentityUser>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = false, Guid? roleId = null, Guid? organizationUnitId = null, string userName = null, string phoneNumber = null, string emailAddress = null, string name = null, string surname = null, bool? isLockedOut = null, bool? notActive = null, bool? emailConfirmed = null, bool? isExternal = null, DateTime? maxCreationTime = null, DateTime? minCreationTime = null, DateTime? maxModifitionTime = null, DateTime? minModifitionTime = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetListByClaimAsync(Claim, bool, CancellationToken)
Declaration
Task<List<IdentityUser>> GetListByClaimAsync(Claim claim, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetListByIdsAsync(IEnumerable<Guid>, bool, CancellationToken)
Declaration
Task<List<IdentityUser>> GetListByIdsAsync(IEnumerable<Guid> ids, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetListByNormalizedRoleNameAsync(string, bool, CancellationToken)
Declaration
Task<List<IdentityUser>> GetListByNormalizedRoleNameAsync(string normalizedRoleName, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetOrganizationUnitsAsync(Guid, bool, CancellationToken)
Declaration
Task<List<OrganizationUnit>> GetOrganizationUnitsAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesAsync(IEnumerable<Guid>, CancellationToken)
Declaration
Task<List<IdentityUserIdWithRoleNames>> GetRoleNamesAsync(IEnumerable<Guid> userIds, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesAsync(Guid, CancellationToken)
Declaration
Task<List<string>> GetRoleNamesAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesInOrganizationUnitAsync(Guid, CancellationToken)
Declaration
Task<List<string>> GetRoleNamesInOrganizationUnitAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Returns
GetRolesAsync(Guid, bool, CancellationToken)
Declaration
Task<List<IdentityRole>> GetRolesAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetUserIdListByRoleIdAsync(Guid, CancellationToken)
Declaration
Task<List<Guid>> GetUserIdListByRoleIdAsync(Guid roleId, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationUnitAsync(Guid, CancellationToken)
Declaration
Task<List<IdentityUser>> GetUsersInOrganizationUnitAsync(Guid organizationUnitId, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationUnitWithChildrenAsync(string, CancellationToken)
Declaration
Task<List<IdentityUser>> GetUsersInOrganizationUnitWithChildrenAsync(string code, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationsListAsync(List<Guid>, CancellationToken)
Declaration
Task<List<IdentityUser>> GetUsersInOrganizationsListAsync(List<Guid> organizationUnitIds, CancellationToken cancellationToken = default)
Parameters
Returns
RemoveClaimFromAllUsersAsync(string, bool, CancellationToken)
Declaration
Task RemoveClaimFromAllUsersAsync(string claimType, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Returns
UpdateOrganizationAsync(Guid, Guid?, CancellationToken)
Declaration
Task UpdateOrganizationAsync(Guid sourceOrganizationId, Guid? targetOrganizationId, CancellationToken cancellationToken = default)
Parameters
Returns
UpdateRoleAsync(Guid, Guid?, CancellationToken)
Declaration
Task UpdateRoleAsync(Guid sourceRoleId, Guid? targetRoleId, CancellationToken cancellationToken = default)
Parameters
Returns
Extension Methods