Hello,

I'm building a migration to LDAP page for my company on one XWiki 2.0
RC1 instance.
For this I need to list all users registered in.
I used the following code to list users:
for(u in xwiki.wrapDocs(xwiki.searchDocuments(", BaseObject obj where
obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
doc.fullName <> 'XWiki.Admin' and doc.fullName <> 'XWiki.TEST' and
doc.fullName <> 'XWiki.dummy'"))) {
...
}

That looks good, most of my users are listed.
But at least one user is missing: one user register as JDOE one time
and one other time as jdoe
So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my loop
only find JDOE and not jdoe

What it is wrong in my request?

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

Reply via email to