Skip to main content
Inspiring
Dec 8, 2021 3:13 AM UTC
Solved

how to get groups' name info by code?

as title,I want to get a user's group name and extract info save to other place, user() don't contain user's info, how to do it?

    tajinders0001
    Inspiring
    Dec 8, 2021 4:34 AM UTC

    Try using getgroupsformemberuser(fn!loggedInUser()) from people functions plug-in.

    It provides all the user's group names.

    3 replies

    tajinders0001
    Inspiring
    Dec 8, 2021 4:34 AM UTC

    Try using getgroupsformemberuser(fn!loggedInUser()) from people functions plug-in.

    It provides all the user's group names.

    andrewh0007
    Inspiring
    Dec 8, 2021 5:34 AM UTC
    Inspiring
    Dec 8, 2021 5:36 AM UTC

    appreciate it!