21 Apr
2009
21 Apr
'09
3:57 p.m.
Hi, I would like to retrieve the number of document that is viewable by the current user (Meaning it has the access to the document). How can i modified the following codes to achieve that feature? #set($query="select count(doc) from XWikiDocument doc") #set($resultsCount = $xwiki.search($query).get(0)) Thanks in adv, Colin Get your preferred Email name! Now you can @ymail.com and @rocketmail.com http://mail.promotions.yahoo.com/newdomains/sg/