@Override public List<Group> execute() throws IdentityStoreException, UserNotFoundException { return identityStore.getGroupsOfUser(uniqueUserId); } }).pushEvent(IdentityStoreInterceptorConstants.POST_GET_GROUPS_OF_USER, (eventProperties) -> {
/** * Get the groups assigned to this user. * * @return List of Groups assigned to this user. * @throws IdentityStoreException Identity store exception. */ public List<Group> getGroups() throws IdentityStoreException, GroupNotFoundException, UserNotFoundException { return identityStore.getGroupsOfUser(uniqueUserId); }
@Override public List<Group> getGroupsOfUser(String uniqueUserId) throws IdentityStoreException, UserNotFoundException { return identityStore.getGroupsOfUser(uniqueUserId); }
identityStore.getGroupsOfUser(userStoreUser.getUniqueUserId());