Copied to clipboard

Flag this post as spam?

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


  • egeek 40 posts 179 karma points
    Feb 24, 2014 @ 16:15
    egeek
    0

    Member SetProperty() obsolete

    I'm working with the Member API and retrieving a specific member with; umbraco.cms.businesslogic.member.Member.GetMemberFromLoginName() which is working fine.

    I now wan't to set properties on this member, but using SetProperty() tell's me it's obsolete and to use the new Services API instead.

    Any hints or references to this "services api"?

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Feb 24, 2014 @ 16:31
    David Brendel
    100

    Just stick to the method your using right now.

    Think is just marked as obsolete but there is currently no new member api.

    Umbraco 7.1 will get the new member api as far as I know.

  • egeek 40 posts 179 karma points
    Feb 25, 2014 @ 11:08
    egeek
    0

    Will do that, thanks :)

  • Sam 47 posts 153 karma points
    Feb 27, 2014 @ 22:01
    Sam
    0

    Yeah, I found out the hard way that some of the things marked obsolete are not. Was doing a custom login, registration, etc and it said that member.Password was obsolete and that I should use member.SetPassword() instead. However, member.SetPassword() results in a plain text password being stored for the member and then Member.GetMemberFromLoginNameAndPassword() doesn't work properly.

Please Sign in or register to post replies

Write your reply to:

Draft