I want to show the active directory groups to which a user is a member on a Confluence page. Our Confluence 5.x instance is AD enabled.Any help is appreciated.Thanks,
Cody
I don't know if there's a macro for this, but maybe using SQL plugin. You can get this information directly from Confluence database.
I hope it helps.
Cheers
You could write a user macro for this fairly easily. The method would be...
$userAccessor.getGroupNamesForUserName()
https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity
https://docs.atlassian.com/com/atlassian/confluence/atlassian-confluence/latest/index.html?com/atlassian/confluence/user/UserAccessor.html
And add it to foreach loop to get a elements of array
It looks like you're new here. Sign in or register to get started.