Legacy Dev Forum Posts

 View Only

Sign Up

How to get Divisions for which a User has a Role

  • 1.  How to get Divisions for which a User has a Role

    Posted 06-05-2025 18:09

    Smith_Warren | 2023-09-08 20:57:35 UTC | #1

    When I get a user's roles, I only get the role name and id. How can I know which divisions the user has for each role for?

    I thought that GET /api/v2/authorization/divisionspermitted/paged/{subjectId} might do the trick, but it is deprecated. Besides, it seems like it ran at the permission level whereas I'm just looking at the role itself.

    GET /api/v2/authorization/subjects/{subjectId} seems like another option, but that payload would have to be parsed to get at what I need.

    Thanks in advance.


    system | 2023-10-09 20:57:37 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 21922