473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Authentication features in ASP.NET 2.0

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
Oct 9 '06 #1
2 1088

"Peter Afonin" <pa*****@hotmail.comwrote in message
news:uP**************@TK2MSFTNGP05.phx.gbl...
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?
MembershipUser user = Membership.GetUser("userName");

user.Email = "ne*@address.com";

Membership.UpdateUser(user);

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.
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!
*************************************************
Oct 9 '06 #2
Thank you, Greg, I'll try this.

Peter

Cowboy (Gregory A. Beamer) wrote:
"Peter Afonin" <pa*****@hotmail.comwrote in message
news:uP**************@TK2MSFTNGP05.phx.gbl...
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?

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

user.Email = "ne*@address.com";

Membership.UpdateUser(user);

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.

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!
*************************************************
Oct 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stephen Poley | last post by:
I'm trying to understand sessions and authentication. I gathered that the only way of preserving data across script invocations was to use a session. However I note that $_SERVER and $_SERVER...
0
by: Christian Luszick | last post by:
hi, I am concerned about the following statement in php doc on http://www.php.net/manual/en/features.http-auth.php ----- sschippp ----- As of PHP 4.3.0, in order to prevent someone from...
1
by: Phil Powell | last post by:
/*-------------------------------------------------------------------------------------------- This function will utilize the ability to use HTTP-based WWW Authentication, checking for the global...
1
by: Oran | last post by:
I am trying to integrate an application into our extranets. The extranet technology has its own authentication system requiring a domain user but uses anonymous authentication (from the...
9
by: Hermit Dave | last post by:
Hi, I am making a web application (rather two applications) one which is host and used by customers when they are just browsing through products. The second application resides on a secure...
2
by: Nicola Farina | last post by:
Hi all, I'm testing ASP.NET 1.1 authentications and cookies features, and I've red tons of tutorials and articles about this, but not all is clear for me. My goal is to create a basic site...
8
by: Sergey V | last post by:
Hi, I need to cover by custom authentication algorithm both ASP.NET and other resources within the site. FormsAuthentication covers only resources beeing handled by ASP.NET. Other generic...
1
by: Paul Aspinall | last post by:
Hi I want to have most of my website available to users without any authentication (ie. they can freely browse). However, if they go to a restricted part, they should be redirected to a login...
1
by: David | last post by:
Hi all, Using C# .NET 1.1 Forms Authentication. I have my site set up to be anonymous access, almost all the way through. I have a login page, that when someone logs in, the site now has...
16
by: rogerjames1 | last post by:
How would I go about protecting a whole directory, e.g. http://www.example.com/members/ and all sub-directories with login protection? I wouldn't like to put a .php script in each directory and...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.