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.
|
|
|