Open Closed

Get permissions of List of users #6373


User avatar
0
nidhinchandy created

Hello everyone,

I am using the below method to get the permissions of a user in an API.
"await _permissionManager.GetAllForUserAsync(userId)"

Is there a way to get the permissions by passing list<userId>, for the better performance. Postgres is the backend used in my case.

ABP Framework version: v7.2.3

UI Type: Angular

Database System: EF Core (Postgres)

Tiered (for MVC) or Auth Server Separated (for Angular): no

Thanks for the reply


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

    Hi,

    There is no such API, you need to extend PermissionManager.

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 13, 2025, 04:08