code: private void removeAllRelatedFromCache(String userName)
     {
        cache.remove(userName, CacheType.USER_PROFILE);
        cache.remove(CacheHandler.USER_PREFIX + userName, CacheType.MEMBERSHIP);
     }
docs: Remove user and related entities from cache.