Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:206092
More Search Options
RSS Available
Matching Posts
Re: Using Email as UserName
Thanks for posting your code. I'll have to take a serious look at modifying how I handle this. The more I think about it the more I think I like doing what you guys did and keeping them separate yet using the email address to login. This would also allow for them to change it to something meaningful in the event the site also had a forum or something, which would be a one-time username change and shouldn't pose any problems. I like the idea. Thanks.
Posted to
Security
(Forum)
by
Scott W
on 2/2/2006
Re: Using Email as UserName
I see what you are saying, and also I apologize for missing the fact in the first post you already did this. I thought I read the entire thread but clearly I didn't. Yes, the bottom line is that it is a hack to force the username and the email address to be the same, and probably the best solution is to use a custom provider or Edgardo's solution. Actually the more I think about Edgardo's solution the more I like it. I think I could use it. The only downside is that you have to force them to come
Posted to
Security
(Forum)
by
Scott W
on 2/1/2006
Re: Using Email as UserName
I showed you in my first post how to do it when the user account is created. That's simple and uses the built in CreateUserWizard and intercepts CreatingUser event to set the email to be teh same as the username they chose (which I have a regex validation control set to make sure they enter an email address). As for updating, if their email address is changed, just update the db yourself. I haven't seen any synchronization issues with personalization. What types of scenarios did you see this with
Posted to
Security
(Forum)
by
Scott W
on 1/31/2006
Re: Using Email as UserName
When they change their email address, you change the username to match. I don't understand what's hard about this. It's simple. Basic. Easy. Done deal. Or did you think I wrote an app that uses their email address as their username and didn't make sure they were always in sync? Just try it. You are putting up barriers that don't exist because you haven't just said "okay, here goes" and wrote the code to test how easy this is. Just sync the username to the email address upon any edit or when you are
Posted to
Security
(Forum)
by
Scott W
on 1/31/2006
Re: Using Email as UserName
radmanmm wrote: I actually do use profile fields to display first and last name as the login status instead of the username. But what I am saying is that you can't just set the username equal to the email because there are other administrative functions that use the username, like password recovery. And the username cannot be changed easily, but the email address might need to change. Well, I'm telling you I do use the email address as the username in asp.net 2.0 and I can use all the administrative
Posted to
Security
(Forum)
by
Scott W
on 1/31/2006
Re: Using Email as UserName
The only benefit I see to that over just setting the username to the email address is for if you want the user to be able to log into a forum or something using a forum username - although you could still just have a profile property for showing on the forum and have them use their email address and password to login with.
Posted to
Security
(Forum)
by
Scott W
on 1/31/2006
Re: Atlas
All you need to do to incorporate it into your current apps is reference the dll in the bin folder and modify the web.config as per the example one in the atlast project.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Scott W
on 1/16/2006
Re: zumiPage vs. MagicAjax
amirll: MagicAjax is really nice but zumiPage outperforms it in so many ways Their demo reloads the header graphics and the whole 9 yards when doing the ajax refreshes. That's annoying. It's like a postback from the user's perspective (visually). Also they are charging $500 for a redist. license for something that everyone else is giving away for free. If they really offered a LOT of extra, cross-browser compatible capability AND they gave stellar support, it might be worth $199 for a redist license
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Scott W
on 1/1/2006
Re: RTM "remember me" not working on login control?
Okay. Thanks for the information! I just wanted to clarify that not only the change from 1.1 to 2.0, but the change from beta 2.0 to RTM 2.0 was normal. Thanks for the confirmation. Regards, Scott
Posted to
Security
(Forum)
by
Scott W
on 11/24/2005
Re: RTM "remember me" not working on login control?
Yeah, it helps, but... I'm not talking about going from 1.1 to 2.0. I'm talking about 2.0 beta -> 2.0 RTM. With the beta, it would NEVER require a login again, even weeks later, unless I purposely logged out. In the RTM, it does time out. My understanding of the way the "remember me" function was supposed to work in 2.0 was the way it worked in the beta, not requiring logins every return visit to the site, instead of the way it is acting in the RTM. I would think what you describe in your blog
Posted to
Security
(Forum)
by
Scott W
on 11/24/2005
Page 1 of 13 (129 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online