Legacy Dev Forum Posts

 View Only

Sign Up

Step through group list and retrieve all roles?

  • 1.  Step through group list and retrieve all roles?

    Posted 06-05-2025 18:30

    VaunMcCarthy | 2024-05-15 01:10:18 UTC | #1

    Has anybody built a PS script using GC CLI to do the following?

    • get list of all groups
    • iterate through each group and get a list of roles assigned to each group
    • export to CSV in something like the following

    groupname,role1,role1division,role2,role2division


    system | 2024-06-14 01:10:21 UTC | #2

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


    This post was migrated from the old Developer Forum.

    ref: 26272