Copied to clipboard

Flag this post as spam?

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


  • Kurniawan Kurniawan 202 posts 225 karma points
    Aug 19, 2010 @ 04:14
    Kurniawan Kurniawan
    0

    Member.GetMemberFromloginNameAndPassword(string,string) is obsolete

    I use Member Login User control which try to login to member in umbraco..

    after examine the code.. it's seems there is warning error...

    said like this

    Member.GetMemberFromloginNameAndPassword(string,string) is obsolete, Log Members in via the standard Forms authentication login

     

    Do you know how to fix this so the warning gone ?

    I want to get a member from the username and password, why it's become obsolete now ?

     

    Thanks

     

     

     

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 19, 2010 @ 05:54
    Aaron Powell
    0

    You should use the ASP.Net Membership Provider model to access users.

    To get a user you can use http://msdn.microsoft.com/en-us/library/bwzxkby7.aspx

    To get the current user (and other stuff) refer to this: http://our.umbraco.org/wiki/how-tos/membership-providers

  • Kurniawan Kurniawan 202 posts 225 karma points
    Aug 20, 2010 @ 03:45
    Kurniawan Kurniawan
    0

    is there any plugin/ package with umbraco which implement this new ASP.NET Membership Provider ?


    Thanks

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 20, 2010 @ 06:03
    Aaron Powell
    0

    Why would you need a package? The point of using standard ASP.Net Membership is so you can use standard ASP.Net features, like the login control, and others

  • 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