Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 610 posts 906 karma points
    Oct 18, 2013 @ 14:15
    Fredrik Esseen
    0

    Creating members in 6.1

    Hi!

    I have until now always used umbraco.MakeNew to create new members programmatically in c#.

    But now when i started to use Umbraco 6 I have one problem..

    I get this error: 
    The type or namespace name 'User' does not exist in the namespace 'umbraco.BusinessLogic'

     Member newMember = Member.MakeNew(UserName.Text, mt, new umbraco.BusinessLogic.User(0));

    How can I fix this?

    Or how do I create a new member with custom properties in a new way?

  • Charles Afford 1163 posts 1709 karma points
    Oct 19, 2013 @ 21:09
  • Fredrik Esseen 610 posts 906 karma points
    Oct 21, 2013 @ 10:55
    Fredrik Esseen
    0

    But isnt that just for retreiving custom properties and not for creating a NEW member..?

     

Please Sign in or register to post replies

Write your reply to:

Draft