Copied to clipboard

Flag this post as spam?

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


  • Fengelz 106 posts 221 karma points
    Aug 13, 2010 @ 13:46
    Fengelz
    0

    Working with members in umbraco 4.5

    Hi 

    I just noticed that the old function umbraco.cms.businesslogic.member.Member.MakeNew() is obsolete and that I have to use the Membership.CreateUser() instead.

    So I'm a bit confused. How do i assign the umbraco MemberType to the MemberShipUser, and how do I assign properties like to the umbraco Member.

    MembershipUser member = Membership.GetUser(loginName);                    
    if(member == null)
        member = Membership.CreateUser(loginName, GeneratePassword());                   

    If I create a MemberShipUser like above, how do I continue with prperties etc.

    Best regards

    - Sune

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies