public interface IPrincipalManagerSPI extends IPrincipalManager
Modifier and Type | Method and Description |
---|---|
Principals |
getPrincipalPrincipals(SessionConfig sessionConfig,
String principalId,
boolean useSessionCache,
ITransaction transaction)
Returns the principals of the given principal.
The return value will be: If the given principal is a user: a set with an entry that is the given user itself and the result of the recursion in this method for each group and segmentation the user is member of. |
add, delete, get, getByShortId, getPortalUserMembers, getPrincipals, isMember, update
keyExists
Principals getPrincipalPrincipals(SessionConfig sessionConfig, String principalId, boolean useSessionCache, ITransaction transaction) throws PortalException
sessionConfig
- the user's session.principalId
- the principal identifier.useSessionCache
- indicates whether the session cache should be used.transaction
- the transaction.PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.