Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
AlainY
Explorer

Method for listing all groups (including nested groups) of an object

Hello CheckMates,

is there a native way to list all the groups (including the parent groups when nested) of an object? 

 

Let's say I have object A that is in Group A, Group A is in Group B and Group B is in Group C... 

I would want an output like this, or similar:

OBJECT A

Groups

 - Group A

 - Group B

 - Group C

 

Could I list all groups, including parent groups, for an object with the API?

 

Thanks

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

Using a single command? No.
You’d have to programmatically list the group and any nested groups you find.
To find groups that contain a given object, you’d probably have to use something like where-used to do it.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events