[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

Common/good "username" requirenment?

I have an ASP.Net app. Username used to be 'email' but then not everyone wants to use their email address for usernames and not all employees offices that will be using the system have email addresses....

I have this for now, but what's a good username requirenment:

(Username should be minimum 6 and maximum 15 characters. Alphanumeric characters are allowed. special characters @._ are allowed. No spaces are acceptable. The starting character should be alphabet.)

[A-Za-z][A-Za-z0-9@._]{5,14}

Open in new window

0
Camillia
Asked:
Camillia
1 Solution
 
Julian HansenCommented:
That's an open ended question and entirely dependent on your circumstances.

Personally I don't like sites that restrict my username and password requirements - I end up having to remember different names.

Email is pretty standard but that does not work for you then just make it that they must be more than some value (6/7/8 chars)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now