ASP.NET 2.0 Membership - change username

  • Thread starter Thread starter Kent
  • Start date Start date
K

Kent

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.
 
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/productfeedback/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" <[email protected]>
| 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: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.tyson.com 199.66.3.5
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.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.
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top