* @throws JobExecutionException if anything goes wrong
*/
protected void synchronizeMemberships(
final SyncProfile<?, ?> profile, final SyncDelta delta, final RoleTO roleTO) throws JobExecutionException {
final AbstractSyncTask task = profile.getSyncTask();
final ExternalResource resource = task.getResource();
final Connector connector = profile.getConnector();
for (Object membValue : getMembAttrValues(delta, connector)) {
Long userId = syncUtilities.findMatchingAttributableId(
ObjectClass.ACCOUNT,