I have a script as follows that displays a list of users that meet some
criteria (the actual where clause I'm using is a bit more complicated than
shown below):

#set ($users=$services.query.xwql("FROM doc.object(XWiki.XWikiUsers) AS user
WHERE (user.first_name LIKE '%Mar%')").execute())
#set ($numUsers = $users.size())
#if ($numUsers > 0)
  #foreach ($user in $users)
    #if (!$user.isHidden())

My problem is that the isHidden method is filtering out the users whose
pages I've marked as hidden. How can I fix this script to list only the
users who are not hidden?


View this message in context: 
Sent from the XWiki- Users mailing list archive at Nabble.com.
users mailing list

Reply via email to