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?
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?
Try using getgroupsformemberuser(fn!loggedInUser()) from people functions plug-in.
It provides all the user's group names.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.