Open Closed

How to customize User management pages in Pro module #4977


User avatar
0
lan.dang created
  • ABP Framework version: v7.0.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I want to customize Identity/Users page with some modification in both UI and Model. I am using Pro module and include these package. My question : to customize User management pages, what are package I have to added? what is razor pages I need to customize ? and How

I tried to add folder and add this razor page but it does not help

Regards

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

8 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    My question : to customize User management pages, what are package I have to added? what is razor pages I need to customize ? and How

    You don't need to add any package.

    You can check the document to know how to overriding Components: https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components?UI=Blazor

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    lan.dang created

    Can you give me an example if I want to custominze UserManagement page? What are components I should overwrite?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi

    The pages

    https://gist.github.com/realLiangshiwei/7b206990452bf566c711c0a0472d043d

    If you also want to replace the Code Behind File, you can try:

    [ExposeServices(typeof(UserManagement))]
    [Dependency(ReplaceServices = true)]
    public partial class MyUserManagement
    {
    
    }
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    lan.dang created

    I got UI works fine but with backend, I want to inherit from UserManager and hide some user so I do this

    The problem is Entities always empty. Could I make modify all data by this way? or there is another way to do?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    lan.dang created

    I solved this, I need to overwrite protected override async Task GetEntitiesAsync() instead

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi Ok good to see that the problem has been solved. I’m closing the question. Free open if still problem

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    lan.dang created

    Hi again, I got a problem while creating new user Is there any way to allow me set default value EmailConfirmed = true when create User in UserManagement page? I found method CreateEntityAsync() but NewEntity does not have EmailConfirmed properties. Can we use IdentityUserManager to update it?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Yes, you can..

    var user = await UserManager.FindByIdAsync(....);
    user.SetEmailConfirmed(true);
    await UserManager.UpdateAsync(user);
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ā¤ļø on ABP v10.8.0-preview. Updated on September 23, 2026, 09:57
1
ABP Assistant
šŸ” You need to be logged in to use the chatbot. Please log in first.