I am currently trying to Filter my userlist

#set($users = $xwiki.rightsmanager.usersApi.allUsers)

#foreach($user in $users)

  #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

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to