Open Closed

How to inject OrganizatioUnitManger create service so that it create endpoints in swagger - In Community Version #3483


User avatar
0
AbdullahDev created

I have read the docs

https://docs.abp.io/en/abp/3.1/Modules/Organization-Units#:~:text=Organization%20Unit%20Management,hierarchically%20group%20users%20and%20entities.

In it docs show that OrganiationUnitManager class can be injected for Crud

How can we create a service for that ,We can have endpoints for OrganizationUnitManager.

I have also looked at sample project OrganizationUnitSample in the repo

I couldn't understand how to use the OrganizationUnitManger class and create endpoints for it so i can create a own custom ui, that is utilizing those endpoints

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

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

    hi

    You can create a new app service and inject the OrganizationUnitManager to manage the Organizations.

    https://docs.abp.io/en/abp/latest/Modules/Identity#organizationunit-manager

    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 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.