Copied to clipboard

Flag this post as spam?

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


  • pat 124 posts 346 karma points
    Apr 11, 2011 @ 11:12
    pat
    0

    Member.GetMemberByName obsolete error

    Hi I am trying to create login user control and add few details to session such as Full name, email, subscribed news letter or not or any other pages the user can update.

    When I use Member.GetMemberByName in visual studio the code underline red and says method obsolete use System.Web.Security.Membership why is this and by using this how can i read user profile details???

    any help?

  • david 46 posts 81 karma points
    Apr 11, 2011 @ 12:35
    david
    0

    use Member.GetCurrentMember() to get the current logged in member.  Or user new Member(memberId) to load the member.

Please Sign in or register to post replies

Write your reply to:

Draft