Change UserName

J

Jonathan Wood

Hi,

In my application, I'm storing the user's email address in the Membership
UserName field. So far, so good.

Now I need to support changing this. I can use Membership.GetUser() to get
the current user. And I can use Membership.UpdateUser() to save any changes.
But I can't modify the UserName field because it is read only.

Is there no way to change the user's UserName short of deleting the user
altogether and creating a new one?

Thanks!
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top