Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

MembershipJson - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Wiki source code of MembershipJson

Version 3.4 by bougault on 2022/03/17 14:12

Show last authors
1 {{velocity wiki="false"}}
2 ##$response.setContentType('application/json')
3 ##{
4 ##"greeting" : "Hello",
5 ##"location": "World"
6 ##}
7
8 ##set($memberships = $services.query.xwql("select doc.title from Document doc where doc.className = 'XWiki.XWikiUsers'").execute())
9 #set($query = $services.query.xwql("from doc.object(XWiki.XWikiUsers)"))
10 #set($memberships = $query.execute())
11 $memberships
12 {{/velocity}}