Best practice for account usernames? [closed]
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
开发者_如何学Go Improve this questionI'm in the middle of creating a user registration for a website and was wondering if it is better to require the username to be an email address or any value for a username?
Example:> Username: me@mail.com or Username: me
In my case it can't be one or the other it has to either be an email address or any other value.
Thanks.
In your comment, you indicated it was a registration for a job application. In this case, I recommend you use email for a few reasons:
- The data will be more easily read by the person who's hiring (they don't care to know your super-awesome SN
ninjawarrior1337
) - You can guarantee that you'll collect a valid email (you'll probably want to send emails at some point)
- Since there's no "social" component, people don't need any kind of nick name, their email will do fine
- Easy to remember
Whatever method you chose, give the user the option to change it. The reason being is that email addresses are NOT permanent. Services can go out of business, people can change email providers, etc.
OpenID is great if you allow more than one authentication service per account.
From personal experience, I find it more convenient when websites use my email address for login, because then I don't have to recall with username I used for this site (I have multiple usernames, depending whether spaces are allowed and depending what kind of website this is).
Another option is to use OpenID, then users can leverage an existing OpenID to create an account on your site. Here's directions on how to get started: http://openid.net/add-openid/
At someone's suggestion, I am elevating this from a comment to an answer:
If you use email address, you can share that with other website owners and aggregate personal information about your users. A lot of big websites do this. The tiny percentage of us who know about this won't register on a site that demands our email address, unless we're real comfortable with their privacy policy.
If you're just talking about convention then it doesn't really matter - pick one and go with it. I personally prefer a username as oppose to an email address since it's quicker to type in and I usually use the same username on multiple sites (but I often have different email addresses.)
However, others will prefer email addresses instead which is just as valid a response!
精彩评论