How to delete files of LDAP user

As far as I not nextcloud works like this:
If you delete a user all the files of this user are deleted as well.
If you use LDAP for authentication and delete a user the files are not deleted automatically, aren`t they?
So, how can I delete all the content of a LDAP user, when he leaves.

Thank you.