TYPO3 8.7.12:具有相同用户名和组但在不同sysfolders中的多个前端用户

Is it possible to have several Frontend Users with the same group and the same username, but in different sys folders? For example: user1 in sysfolder1 and user1 in sysfolder2. Then I want to habe 2 Login Masks, one for users in sysfolder1 and one for sysfolder2.

I found it out what to do, but thanks anyway

$userdata = $tsfe->fe_user->fetchUserRecord($info['db_user'], $user->getUsername(), 'AND pid IN (' . (\implode(',', $this->frontendUserRepository->createQuery()->getQuerySettings()->getStoragePageIds())) . ')');

The third parameter 'andwhere'