Package com.xwiki.azureoauth.user
Interface EntraIDUsersManager
@Role
@Unstable
public interface EntraIDUsersManager
Expose the EntraID users which are already present on the XWiki instance, or the list which is provided by the
EntraID server.
- Since:
- 2.1
- Version:
- $Id$
-
Method Details
-
getXWikiUsersMap
Get aMapof internal users that are created from EntraId, with the user id (subject) as the key.- Returns:
- the internal users that are created from EntraId
- Throws:
Exception- if there are any errors while getting the users.
-
getXWikiUsers
List<com.xpn.xwiki.doc.XWikiDocument> getXWikiUsers() throws com.xpn.xwiki.XWikiException, org.xwiki.query.QueryExceptionGet aListof internal users that are created from EntraId.- Returns:
- a
Listof the user documents - Throws:
com.xpn.xwiki.XWikiException- if there is any error while retrieving the documentsorg.xwiki.query.QueryException- if the query execution fails
-
getEntraServerUsers
Get aListof users present on the EntraID server.- Returns:
- the external users info stored in
ExternalUser - Throws:
Exception- if there are any errors while getting the users.
-