@SuppressWarnings("SpringElInspection")
	@Transactional
	@CacheEvict(value = DIST_CACHE_USERS, key = "#userId")
	public void delete(String userId) {
		User user = getOne(userId);
		List<PerfTest> deletePerfTests = perfTestService.deleteAll(user);
		userRepository.delete(user);
		for (PerfTest perfTest : deletePerfTests) {
			FileUtils.deleteQuietly(config.getHome().getPerfTestDirectory(perfTest));
		}
		FileUtils.deleteQuietly(config.getHome().getScriptDirectory(user));
		FileUtils.deleteQuietly(config.getHome().getUserRepoDirectory(user));
	}
Delete the given user. All corresponding perftest and directories are deleted as well.

@param userId the user id string list
ngrinder-controller/src/main/java/org/ngrinder/user/service/UserService.java