# User name problem with space

**URL:** <https://forums.visigo.com/t/user-name-problem-with-space/1042>\
**Category:** SharePoint FBA Pack\
**Tags:** sharepoint2016\
**Created:** [March 10, 2021, 2:50pm UTC](https://forums.visigo.com/t/user-name-problem-with-space/1042 "2021-03-10T14:50:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mladens](https://forums.visigo.com/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@mladens](https://forums.visigo.com/u/mladens)\
**Post date:** [March 10, 2021, 2:50pm UTC](https://forums.visigo.com/t/user-name-problem-with-space/1042/1 "2021-03-10T14:50:33Z")

</div>

This is the first time I’ve used the Membership Request Web Part. I use Sharepoint 2016. Users successfully create accounts. There is a problem with usernames that contain a space (e.g. user name is Chris Coulson). Users cannot log in again because they receive an incorrect username error.  
Is there a way to change an existing username?  
How to prevent the creation of accounts with spaces?  
Any advice is welcome.  
Best regards

---

<div class="post-metadata">

**Author:** ![ccoulson](https://forums.visigo.com/user_avatar/forums.visigo.com/ccoulson/32/6_2.png) [@ccoulson](https://forums.visigo.com/u/ccoulson)\
**Post date:** [March 11, 2021, 9:40pm UTC](https://forums.visigo.com/t/user-name-problem-with-space/1042/2 "2021-03-11T21:40:25Z")

</div>

I am able to login to SharePoint 2016 with a username with a space in it. I can also create and manage users with a space in the username. I wasn’t able to replicate any issues with having a username with a space in it.

There is no built in way with the FBA Pack to change the existing username, as the username is used to correspond to a sharepoint user profile. Potentially you could change the username in the database, though you’d also have to migrate the SharePoint user to the new username. If it’s a new user it’s probably easiest just to delete the user and recreate with the desired username.

---

<div class="post-metadata">

**Author:** ![mladens](https://forums.visigo.com/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@mladens](https://forums.visigo.com/u/mladens)\
**Post date:** [March 15, 2021, 10:29am UTC](https://forums.visigo.com/t/user-name-problem-with-space/1042/3 "2021-03-15T10:29:25Z")

</div>

Thanks for the reply.

You’re right. I was able to create a new account with a space in the username. Everything works.  
Obviously, I’ll have to take a closer look at the problems users have when signing up. There were several users with the problem and they all had space in the username. I thought it was a problem, but …

Thanks anyway.
