cogList users having the "inactive" property set
Developed by

Sergiu Dumitriu

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

{{velocity}}{{html}}
<ul>
#foreach($d in $xwiki.wrapDocs($xwiki.searchDocuments(", BaseObject obj, IntegerProperty act where obj.className = 'XWiki.XWikiUsers' and obj.name = doc.fullName and act.id.id = obj.id and act.id.name = 'active' and act.value <> 1")))
 <li>$xwiki.getUserName($d.fullName) (<a href="$d.getURL('save', 'XWiki.XWikiUsers_0_active=1')&xredirect=$doc.getURL()">activate</a>)</li>
#end
</ul>
{{/html}}{{/velocity}}

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.

Created by Sergiu Dumitriu on 2010/05/13 18:19
     

Get Connected