The user mustnât replace. So it has to be look like:
*/15 * * * * /uer/bin/php7.4-cli -f /homepages/xx/dxxxxxxxx/htdocs/nextcloud/cron.php
At shell you are logged in with your user, which is u5xxxx. So the cronjob will also run with your user u5xxxx.