@ProviderType public interface UserManagementService
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminId() |
String |
getAnonymousId() |
String |
getAuthorizableRootPath() |
String |
getEveryoneName() |
String |
getGroupRootPath() |
String |
getSystemUserRootPath() |
String |
getUserInternalId(Session session)
Retrieve the user identifier of currently logged in user
for eg:- jcr:uuid of logged in user
|
UserManager |
getUserManager(Session session)
Retrieve the
UserManager associated with the given session. |
String |
getUserRootPath() |
@Nonnull UserManager getUserManager(@Nonnull Session session) throws UnsupportedOperationException, RepositoryException
UserManager associated with the given session. This
method is a shortcut for calling JackrabbitSession.getUserManager().session - The editing session.UserManager associated with the given session.UnsupportedOperationException - If the specified session is not
an JackrabbitSession.RepositoryException - If an error occurs or if the JCR
repository doesn't support user managent.@Nonnull String getAuthorizableRootPath()
@Nonnull String getUserRootPath()
@Nonnull String getGroupRootPath()
@Nonnull String getSystemUserRootPath()
@Nonnull String getUserInternalId(@Nonnull Session session) throws UnsupportedOperationException, RepositoryException
session - The current user sessionUnsupportedOperationException - If the specified session is not
an JackrabbitSession or if Authorizable is not of User type.RepositoryException - If an error occurs or user id doesnt exist or if the JCR
repository doesn't support user management.Copyright © 2010 - 2020 Adobe. All Rights Reserved