HowCanIListTheEmailAddressesOfUsersRegisteredOnMyWiki

Last modified by Vincent Massol on 2006/12/10

Question How can I list the email addresses of users registered on my wiki?
Answer To get the email addresses use the following code in a wiki page:

#\set ($\sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.XWikiUsers'")
#\foreach ($\item in $\xwiki.searchDocuments($\sql))
#\set($itemdoc = $\xwiki.getDocument($\item))
* $\itemdoc.email
#\end
Tags:
Created by jlwolf02 on 2005/09/15
   

Get Connected