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
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
And add it to foreach loop to get a elements of array :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.