Class MongoIdentityUserRepository
Inheritance
MongoIdentityUserRepository
Assembly: Volo.Abp.Identity.MongoDB.dll
Syntax
public class MongoIdentityUserRepository : MongoDbRepository<IAbpIdentityMongoDbContext, IdentityUser, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IMongoDbRepository<IdentityUser, Guid>, IMongoDbRepository<IdentityUser>, IRepository<IdentityUser, Guid>, IRepository<IdentityUser>, IReadOnlyRepository<IdentityUser, Guid>, IReadOnlyRepository<IdentityUser>, IBasicRepository<IdentityUser, Guid>, IIdentityUserRepository, IBasicRepository<IdentityUser, Guid>, IBasicRepository<IdentityUser>, IReadOnlyBasicRepository<IdentityUser, Guid>, IReadOnlyBasicRepository<IdentityUser>, IRepository
Constructors
MongoIdentityUserRepository(IMongoDbContextProvider<IAbpIdentityMongoDbContext>)
Declaration
public MongoIdentityUserRepository(IMongoDbContextProvider<IAbpIdentityMongoDbContext> dbContextProvider)
Parameters
Methods
FindByLoginAsync(string, string, bool, CancellationToken)
Declaration
public virtual Task<IdentityUser> FindByLoginAsync(string loginProvider, string providerKey, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByNormalizedEmailAsync(string, bool, CancellationToken)
Declaration
public virtual Task<IdentityUser> FindByNormalizedEmailAsync(string normalizedEmail, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByNormalizedUserNameAsync(string, bool, CancellationToken)
Declaration
public virtual Task<IdentityUser> FindByNormalizedUserNameAsync(string normalizedUserName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
FindByTenantIdAndUserNameAsync(string, Guid?, bool, CancellationToken)
Declaration
public virtual 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
public virtual 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
GetFilteredQueryableAsync(string, Guid?, Guid?, string, string, string, string, string, bool?, bool?, bool?, bool?, DateTime?, DateTime?, DateTime?, DateTime?, CancellationToken)
Declaration
protected virtual Task<IMongoQueryable<IdentityUser>> GetFilteredQueryableAsync(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
public virtual 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
public virtual Task<List<IdentityUser>> GetListByClaimAsync(Claim claim, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetListByIdsAsync(IEnumerable<Guid>, bool, CancellationToken)
Declaration
public virtual Task<List<IdentityUser>> GetListByIdsAsync(IEnumerable<Guid> ids, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetListByNormalizedRoleNameAsync(string, bool, CancellationToken)
Declaration
public virtual Task<List<IdentityUser>> GetListByNormalizedRoleNameAsync(string normalizedRoleName, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetOrganizationUnitsAsync(Guid, bool, CancellationToken)
Declaration
public virtual Task<List<OrganizationUnit>> GetOrganizationUnitsAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesAsync(IEnumerable<Guid>, CancellationToken)
Declaration
public virtual Task<List<IdentityUserIdWithRoleNames>> GetRoleNamesAsync(IEnumerable<Guid> userIds, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesAsync(Guid, CancellationToken)
Declaration
public virtual Task<List<string>> GetRoleNamesAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Returns
GetRoleNamesInOrganizationUnitAsync(Guid, CancellationToken)
Declaration
public virtual Task<List<string>> GetRoleNamesInOrganizationUnitAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Returns
GetRolesAsync(Guid, bool, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetRolesAsync(Guid id, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetUserIdListByRoleIdAsync(Guid, CancellationToken)
Declaration
public virtual Task<List<Guid>> GetUserIdListByRoleIdAsync(Guid roleId, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationUnitAsync(Guid, CancellationToken)
Declaration
public virtual Task<List<IdentityUser>> GetUsersInOrganizationUnitAsync(Guid organizationUnitId, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationUnitWithChildrenAsync(string, CancellationToken)
Declaration
public virtual Task<List<IdentityUser>> GetUsersInOrganizationUnitWithChildrenAsync(string code, CancellationToken cancellationToken = default)
Parameters
Returns
GetUsersInOrganizationsListAsync(List<Guid>, CancellationToken)
Declaration
public virtual Task<List<IdentityUser>> GetUsersInOrganizationsListAsync(List<Guid> organizationUnitIds, CancellationToken cancellationToken = default)
Parameters
Returns
RemoveClaimFromAllUsersAsync(string, bool, CancellationToken)
Declaration
public virtual Task RemoveClaimFromAllUsersAsync(string claimType, bool autoSave, CancellationToken cancellationToken = default)
Parameters
Returns
UpdateOrganizationAsync(Guid, Guid?, CancellationToken)
Declaration
public virtual Task UpdateOrganizationAsync(Guid sourceOrganizationId, Guid? targetOrganizationId, CancellationToken cancellationToken = default)
Parameters
Returns
UpdateRoleAsync(Guid, Guid?, CancellationToken)
Declaration
public virtual Task UpdateRoleAsync(Guid sourceRoleId, Guid? targetRoleId, CancellationToken cancellationToken = default)
Parameters
Returns
Implements
Extension Methods