Hi,
AFAIK there's no easy way to retrieve the list of users currently logged in.
You can list the users currently editing pages with (need programming rights) :
--------------------------------------------8<--------------------------------------------
#foreach ($user in $xwiki.search("select distinct lock.userName from
XWikiLock lock"))
* $user
#end
--------------------------------------------8<--------------------------------------------
I've added it to :
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
JV.
On Fri, Sep 26, 2008 at 8:47 AM, Reto Hotz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way to get a list of currently logged in users? (Or users
> that are editing a page)
> For example when I have to restart XWiki I could ask these users to
> logout. So that they don't loose any text, they may are editing at this
> moment.
>
> Thanks.
>
> Greetings
> Reto
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Jean-Vincent Drean
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users