Open Closed

Regarding Hard Delete from AbpUsers Table #1314


User avatar
0
ChetanKumbhar created

Hi,

I want to hard delete record from AbpUsersTable, Currently we are doing soft delete from AbpUsers Table. I went through some documents for hard delete, i found HardDeleteAsync method for hard delete. i found this method for my other DB repository, but not for Identity Module repository. I want hard delete user from AbpUsers Table. i could not found HardDeleteAsync this method for IdentityUserManager or any repository of identity model.

So how should i hard delete records from AbpUsers Table?

ABP Framework version: v3.0.4 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue:


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    using Volo.Abp.Domain.Repositories;
    
    private readonly IIdentityUserRepository _identityUserRepository;
    await _identityUserRepository.HardDeleteAsync(IdentityUserEntity);
    
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00