You cannot change a user’s name directly. But you follow this procedure:
- create a new user with the desired new user name
- delete the old user
- during deletion you will be ask for the new owner of the data of the old user, select the new user you just created
All data will get transferred to the new user automatically.