Hi,
On 29 Apr 2016, at 09:48, Rochlin Oleg
<Oleg.Rochlin(a)ssi-schaefer.com> wrote:
I am currently trying to Filter my userlist
#set($users = $xwiki.rightsmanager.usersApi.allUsers)
#foreach($user in $users)
This is not going to be performant. You should instead use:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M2#HGro…
Thanks
-Vincent
#if(($xwiki.getUser($user).isUserInGroup("XWiki.GroupName"))&&
$xwiki.getUser($user).position !="StringExample")
{{section justify="true"}}
It should show me all users except of those with String I defined in if within position
section.
sadly the second part of IF is being ignored. Users with String are still shown.
Thanks =)
Oli