Open Closed

User file import, add field to also import OU's #8578


User avatar
0
epieters created
  • ABP Framework version: v8.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

We are using ABP Commercial.

During the file import of users, we would also like to assign them to an organization unit. At the moment OU's is not foreseen as an import field.

Is there a workaround that for this?

Can you please consider this as a new feature for you commercial module? It's kind of strange that on one hand side you have a very flexible and good OU approach, but it's not possible to add users to the OU's in bulk.

Thanks.

Eric.


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

    hi

    We will add the OU field to Excel or CSV in the next version.

    For now. You can override the Volo.Abp.Identity.IdentityUserAppService's ImportUsersFromFileAsync method.

    public class OuInvalidImportUsersFromFileDto :InvalidImportUsersFromFileDto
    {
        public string AssignedoUNames { get; set; }
    }
    

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