Groups | Blog | Home
all groups > asp.net > october 2006 >

asp.net : Authentication features in ASP.NET 2.0


Peter Afonin
10/8/2006 8:54:48 PM
Hello,

I'm still learning the new Authentication features in ASP.NET 2.0. Two
things I cannot figure out:

1. It's easy to change user profile and password. But how about the main
login information? It has user name, email, security question and answer.
I've just found out that there is no easy way to change the user name, which
kind of makes sense. But the user must be able to change at least an email
address. Is there a way to do this, or I have to do it in old fashioned way
using stored procedure?

2. When the user recovers his password, he gets this e-mail message:

Please return to the site and log in using the following information.
User Name: pav
Password: ;o}OV$*y:EGTg#

Where can I change the text of this message? I'm making a web site in
Russian, so I must translate it and include some other instructions.

I would appreciate your advice.

Thank you,

--
Peter Afonin

Cowboy (Gregory A. Beamer)
10/9/2006 7:48:36 AM

[quoted text, click to view]

MembershipUser user = Membership.GetUser("userName");

user.Email = "new@address.com";

Membership.UpdateUser(user);


[quoted text, click to view]

Not sure on this one yet, as we are still working on it.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************

Peter Afonin
10/9/2006 10:01:55 AM
Thank you, Greg, I'll try this.

Peter

[quoted text, click to view]
AddThis Social Bookmark Button