Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • SinkyPars 132 posts 175 karma points
    Dec 12, 2012 @ 14:55
    SinkyPars
    1

    Member node name

    Hi,

    I have added many members to my site. I have build a profile managment tool where the user can change their username. This all seesm to work fine using except the display name in the back end.

    umbraco.cms.businesslogic.member.Member uMember = umbraco.cms.businesslogic.member.Member.GetMemberFromLoginName((string)ViewState["username"]);

                        uMember.Email = UserName.Text.Trim();

                        uMember.Text = UserName.Text.Trim();  

                        uMember.LoginName = UserName.Text.Trim();                    

                        uMember.Save();

    how can I update the members display name in the back end?

     

    Many thanks

    Scott

     

     

Please Sign in or register to post replies

Write your reply to:

Draft