I'm developing a web site app and I am also going through and creating a user registration through windows forms. As you may know if you have seen my previous posts.

Well I have everything up and running except I have one small problem.

It's not allowing me to add duplicate usernames to my aspnetdb.

Problem is I want duplicate usernames for simplicity sake and to distinguish between the users by their userid, not necessarily the username.

Each user is assigned a different userid, so this should be possible right? However, when i create a user with the same username I get the duplicate username error. And when I try to add them to a role I get that user already exists in the role.

Why isn't the duplicate username being entered into the aspnetdb with a different userid?