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???
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?
use Member.GetCurrentMember() to get the current logged in member. Or user new Member(memberId) to load the member.
is working on a reply...