XWiki - User ID

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XWiki - User ID

Prathap Pandian
Hi,

How to print the user id in xwiki pages.(Like this:XWiki.Admin).

 *$!xwiki.getUserName($context.user, false) This one is to print the user
name.

*--
Prathap*
*
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Reply | Threaded
Open this post in threaded view
|

Re: XWiki - User ID

Tiago Rinck Caveden
On Thu, Jul 3, 2008 at 1:50 PM, Prathap Pandian <[hidden email]>
wrote:

> Hi,
>
> How to print the user id in xwiki pages.(Like this:XWiki.Admin).



I think $context.user should do it.

This should help you:
http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.4.1%2Djavadoc.zip/index.html

Regards,
--
Tiago Rinck Caveden
http://caveden.multiply.com
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Tiago Rinck Caveden
http://caveden.multiply.com
Reply | Threaded
Open this post in threaded view
|

Re: XWiki - User ID

Prathap Pandian
ok fine thanks.

--
Prathap

On Thu, Jul 3, 2008 at 5:33 PM, Tiago Rinck Caveden <[hidden email]>
wrote:

> On Thu, Jul 3, 2008 at 1:50 PM, Prathap Pandian <[hidden email]>
> wrote:
>
> > Hi,
> >
> > How to print the user id in xwiki pages.(Like this:XWiki.Admin).
>
>
>
> I think $context.user should do it.
>
> This should help you:
>
> http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.4.1%2Djavadoc.zip/index.html
>
> Regards,
> --
> Tiago Rinck Caveden
> http://caveden.multiply.com
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs