Hi
I want to allow duplicate names on certain conditions(that I can check for myself).
such as
if 3 users come up to my site and have this
Code:
prefix: "jim"
userName: "chobo2"
prefix: "bob"
userName: "chobo2"
prefix: null
userName: "chobo2"
Now if someone comes in and tries to register
prefix: null
userName: "chobo2"
or
prefix: "bob"
username: "chobo2"
It should come up with a duplicate error message. If they use a new prefix with "chobo2" then it should allow them.
So I need to figure out how to turn of duplicates first. I am not sure how do this in asp.net membership. If they put something on the database tables or something or if it is built instead the Membership.Create() method.
I know I could join the prefix + userName together but I don't want to do that I want to keep them seperate.
I been looking into asp.net membership applications. but I would need to some how to stream line it. Like I don't want to have to make a new provider each time. I would want them all to be under the same application name but with maybe different id's that I could somehow add users to if they added the same prefix too.
P.S
this html editor does not seem to work in firefox 3.5 had to come and write this in IE8