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.

Query Users - HBP Wiki

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


Changes for page Query Users

Last modified by bougault on 2023/09/28 17:01

From version 7.1
edited by bougault
on 2022/12/20 14:50
Change comment: There is no comment for this version
To version 8.1
edited by bougault
on 2022/12/20 14:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -{{velocity output="no"}}
1 +{{velocity}}
2 2  #set($query = $services.query.xwql("from doc.object(XWiki.XWikiUsers) as users"))
3 3  #set($users = $query.execute())
4 4  #set($warnings = [])
... ... @@ -15,6 +15,7 @@
15 15   #set($warnings = $warnings.add("user $userId email does not match privacy rules"))
16 16   #end
17 17  #end
18 +$warnings
18 18  {{/velocity}}
19 19  
20 20  {{velocity}}
... ... @@ -27,10 +27,3 @@
27 27  </ul>
28 28  {{/html}}
29 29  {{/velocity}}
30 -
31 -{{velocity}}
32 -
33 -{{html clean="false"}}
34 -$warnings
35 -{{/html}}
36 -{{/velocity}}