Hi Stéphanie
If I understand correctly you just have to replace $context.user in
Guillaume's code snippet with $doc.getCreator()
The document creator field contains the document's full name of the
creating user.
Hope this helps
Edo
2012/1/3 Stéphanie <stephanie.roulland(a)gmail.com>om>:
Thank you for your response, but in fact it's a
bit more difficult I think.
Because, I working on a form. When someone wants to complete this form, he
has to click on a button that creates a new page and every form/pages are
created with a default sheet. So for each new form created, I want to have
the email address on the bottom of this page (I created a hidden part just
for the administrators). So, I just want to get the email of each creator of
a page.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Find-the-email-of-a-user-tp7146566p714672…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users