Hi
I'm trying to create a custom macro (I'm novice) where I select the user and want to see the list of group memberships where the user belongs.
User list macro does not achieve this because a group needs to be selected first.
I found an example in the community but i can't make it work.
## @param User:title=User|type=string|required=true|desc=Enter a user name. <ul> #foreach($group in $userAccessor.getGroupNamesForUserName($paramUser)) <li>$group</li> #end </ul>
Is there another way to select the user and have the groups listed as a macro ?
thanks