469,903 Members | 1,428 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

ASP.NET 2.0 Membership - change username

I cannot find any methods to change the username of a MembershipUser. I
know I could just go hit the database and write my own method but this seems
like a feature that should be included.
Dec 27 '05 #1
2 3225
It is a feature that wasn't included :)

-Brock
DevelopMentor
http://staff.develop.com/ballen
I cannot find any methods to change the username of a MembershipUser.
I know I could just go hit the database and write my own method but
this seems like a feature that should be included.

Dec 27 '05 #2
Hi Kent,

yes, the default SqlMembershipProvider of asp.net 2.0 dosn't provide the
interface for updating membership user's useranme after creation. I think
it is designed that the username is considered part of the membership's
identifier which should be changable....
Also, we can view the "InstallMembership.sql" file that under the framework
directory which contains all the SqlMembershipProvider used sql scripts....
And if we need to do some customization, the recommended means is override
the existing class (provider or MembershipUser....).

Also, you can submit this request through the MSDN product feedback center:

http://lab.msdn.microsoft.com/produc...k/default.aspx

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Kent" <Ke**@newsgroups.nospam>
| Subject: ASP.NET 2.0 Membership - change username
| Date: Tue, 27 Dec 2005 10:41:05 -0600
| Lines: 5
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <uu*************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.tyson.com 199.66.3.5
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:367162
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I cannot find any methods to change the username of a MembershipUser. I
| know I could just go hit the database and write my own method but this
seems
| like a feature that should be included.
|
|
|

Dec 28 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post: by
4 posts views Thread by AC | last post: by
reply views Thread by =?Utf-8?B?QV9SZXB1YmxpY2Fu?= | last post: by
1 post views Thread by =?Utf-8?B?aGZkZXY=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.