How to get only groups assigned to user?

Certified Senior Developer

Hi Everyone,

I am using the script a!groupsForUser(loggedInUser()) to get list of groups assigned to user but it gives the id along with group and I only want group name.

Can anyone please suggest?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data