I'm creating a new asp.net MVC3 app in which in user table I do not wish to have user name but only user id (long) and email (string). What I would like to understand is normally when I use membership provider with normal db structure, I get the username value in db as the User.Identity.Name.
Could someone please tell me what changes I need to do as I will not have any username in my db to ensure that my email address becomes my User.Identity.Name
Thanks Arnab
Answer: found out... its FormsAuthentication.SetAuthCookie that decides which value goes to user.identity.name