Show / Hide Table of Contents

Interface IIdentityUserRepository

Inherited Members
IBasicRepository<IdentityUser, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<IdentityUser, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<IdentityUser>.InsertAsync(IdentityUser, bool, CancellationToken)
IBasicRepository<IdentityUser>.InsertManyAsync(IEnumerable<IdentityUser>, bool, CancellationToken)
IBasicRepository<IdentityUser>.UpdateAsync(IdentityUser, bool, CancellationToken)
IBasicRepository<IdentityUser>.UpdateManyAsync(IEnumerable<IdentityUser>, bool, CancellationToken)
IBasicRepository<IdentityUser>.DeleteAsync(IdentityUser, bool, CancellationToken)
IBasicRepository<IdentityUser>.DeleteManyAsync(IEnumerable<IdentityUser>, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityUser, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityUser, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityUser>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<IdentityUser>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<IdentityUser>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.Abp.Identity
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
Type Name Description
string loginProvider
string providerKey
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityUser>

FindByNormalizedEmailAsync(string, bool, CancellationToken)

Declaration
Task<IdentityUser> FindByNormalizedEmailAsync(string normalizedEmail, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string normalizedEmail
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityUser>

FindByNormalizedUserNameAsync(string, bool, CancellationToken)

Declaration
Task<IdentityUser> FindByNormalizedUserNameAsync(string normalizedUserName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string normalizedUserName
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityUser>

FindByTenantIdAndUserNameAsync(string, Guid?, bool, CancellationToken)

Declaration
Task<IdentityUser> FindByTenantIdAndUserNameAsync(string userName, Guid? tenantId, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string userName
Guid? tenantId
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityUser>

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
Type Name Description
string filter
Guid? roleId
Guid? organizationUnitId
string userName
string phoneNumber
string emailAddress
string name
string surname
bool? isLockedOut
bool? notActive
bool? emailConfirmed
bool? isExternal
DateTime? maxCreationTime
DateTime? minCreationTime
DateTime? maxModifitionTime
DateTime? minModifitionTime
CancellationToken cancellationToken
Returns
Type Description
Task<long>

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
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
bool includeDetails
Guid? roleId
Guid? organizationUnitId
string userName
string phoneNumber
string emailAddress
string name
string surname
bool? isLockedOut
bool? notActive
bool? emailConfirmed
bool? isExternal
DateTime? maxCreationTime
DateTime? minCreationTime
DateTime? maxModifitionTime
DateTime? minModifitionTime
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetListByClaimAsync(Claim, bool, CancellationToken)

Declaration
Task<List<IdentityUser>> GetListByClaimAsync(Claim claim, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Claim claim
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetListByIdsAsync(IEnumerable<Guid>, bool, CancellationToken)

Declaration
Task<List<IdentityUser>> GetListByIdsAsync(IEnumerable<Guid> ids, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<Guid> ids
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetListByNormalizedRoleNameAsync(string, bool, CancellationToken)

Declaration
Task<List<IdentityUser>> GetListByNormalizedRoleNameAsync(string normalizedRoleName, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string normalizedRoleName
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetOrganizationUnitsAsync(Guid, bool, CancellationToken)

Declaration
Task<List<OrganizationUnit>> GetOrganizationUnitsAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<OrganizationUnit>>

GetRoleNamesAsync(IEnumerable<Guid>, CancellationToken)

Declaration
Task<List<IdentityUserIdWithRoleNames>> GetRoleNamesAsync(IEnumerable<Guid> userIds, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<Guid> userIds
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUserIdWithRoleNames>>

GetRoleNamesAsync(Guid, CancellationToken)

Declaration
Task<List<string>> GetRoleNamesAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<List<string>>

GetRoleNamesInOrganizationUnitAsync(Guid, CancellationToken)

Declaration
Task<List<string>> GetRoleNamesInOrganizationUnitAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<List<string>>

GetRolesAsync(Guid, bool, CancellationToken)

Declaration
Task<List<IdentityRole>> GetRolesAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityRole>>

GetUserIdListByRoleIdAsync(Guid, CancellationToken)

Declaration
Task<List<Guid>> GetUserIdListByRoleIdAsync(Guid roleId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid roleId
CancellationToken cancellationToken
Returns
Type Description
Task<List<Guid>>

GetUsersInOrganizationUnitAsync(Guid, CancellationToken)

Declaration
Task<List<IdentityUser>> GetUsersInOrganizationUnitAsync(Guid organizationUnitId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid organizationUnitId
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetUsersInOrganizationUnitWithChildrenAsync(string, CancellationToken)

Declaration
Task<List<IdentityUser>> GetUsersInOrganizationUnitWithChildrenAsync(string code, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string code
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

GetUsersInOrganizationsListAsync(List<Guid>, CancellationToken)

Declaration
Task<List<IdentityUser>> GetUsersInOrganizationsListAsync(List<Guid> organizationUnitIds, CancellationToken cancellationToken = default)
Parameters
Type Name Description
List<Guid> organizationUnitIds
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUser>>

RemoveClaimFromAllUsersAsync(string, bool, CancellationToken)

Declaration
Task RemoveClaimFromAllUsersAsync(string claimType, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string claimType
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
Task

UpdateOrganizationAsync(Guid, Guid?, CancellationToken)

Declaration
Task UpdateOrganizationAsync(Guid sourceOrganizationId, Guid? targetOrganizationId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid sourceOrganizationId
Guid? targetOrganizationId
CancellationToken cancellationToken
Returns
Type Description
Task

UpdateRoleAsync(Guid, Guid?, CancellationToken)

Declaration
Task UpdateRoleAsync(Guid sourceRoleId, Guid? targetRoleId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid sourceRoleId
Guid? targetRoleId
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform