Details
-
Improvement
-
Resolution: Solved By
-
Major
-
None
-
11.10.2
-
None
-
Unknown
-
N/A
-
N/A
-
Description
AFAIK we currently don't have an API that would allow to check that a given EntityReference or a given Document is a user. Since in XWiki a user is a document containing a XWiki.XWikiUsers object, such an API could be particularly useful first inside XWiki Standard (when checking quickly the number of occurences of XWiki.XWikiUsers in platform you can see that such API would be used in lots of places) but also outside in extensions that needs to work with XWiki Users.
Note that it could be also part of the XWikiUsers class to have a static method to perform that check, but I guess we want it to be moved in xwiki-platform-user at a point.
Attachments
Issue Links
- depends on
-
XWIKI-17069 Add new User API
- Closed