I have deleted a user. Now ISPConfig 2 does not let me create a new user with the same user name.
Most probably you have forgotten to delete the user from the recycle bin. Only after you have deleted the user from the recycle bin are you able to create a new user with that user name.