Hi,
On Thu, Sep 10, 2009 at 3:51 PM, Jerome Velociter <jerome(a)xwiki.com> wrote:
Asiri Rathnayake wrote:
2009/9/10 Hernández Cuchí, Francisco Ricardo <
francisco.hernandez(a)oepm.es>
Hi, brief question,
Is there any way to view all the pages created by an user?
try:
#set($hql = "where doc.creator='XWiki.UserName'")
#set($results = $xwiki.searchDocuments($hql, 0, 0))
results will contain all the documents created by "XWiki.UserName" user.
For more examples see:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPriv…
The proper link is in fact :
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPubl…
(you don't need to run a privileged search for this query, searchDocuments
works fine as Asiri wrote)
Yes, thanks Jerome :)
- Asiri
Jerome
- Asiri
>
> Thanks
>
>
>
> --
>
> Francisco Hernández Cuchí
>
>
>
>
>
**********************************************************************************************
> IMPORTANTE: El contenido de este correo y
ficheros adjuntos es
confidencial
> y está dirigido únicamente
> para el destinatario/s.
> Si Ud recibe este correo por error, por favor póngase en contacto con su
> administrador de correo o con el
> emisor immediatamente y no difunda su contenido a nadie ni haga copias.
> *** Este correo ha sido escaneado de virus y contenido malicioso ***
>
>
**********************************************************************************************
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users