Hi,
On Thu, Jun 26, 2008 at 4:17 PM, Shruti Modi <shruti.modi(a)tcs.com> wrote:
how can I fetch the email address of a user if I have
his login id.
A user is just a wiki page containing a user's object so to get user's
informations simply get the corresponding document:
#set($userDoc = $xwiki.getDocument("XWiki.UserId"))
$userDoc.first_name
$userDoc.last_name
$userDoc.email
Shruti Modi
Mailto: shruti.modi(a)tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne