List all users
Confluence 3.x and above
Actual classes may differ depending on your version of confluence
Does not work with LDAP
Groovy
{groovy:output=wiki} import com.atlassian.confluence.user.UserAccessor import com.atlassian.spring.container.ContainerManager out.println "|| User ID || Full name || Email ||" UserAccessor userAccessor = (UserAccessor)ContainerManager.getComponent("userAccessor"); userAccessor.getUsersWithConfluenceAccessAsList().each { user -> out.println "| $user.name | [~$user.name] | [mailto:$user.email] |" } {groovy}