We are try to create our own update and register member controls. How do we display the data of the member that is currently logged in to the update profile control. We are trying to retrieve the address, city, login name and password. We added fields on the member type for address and city like this http://i59.photobucket.com/albums/g294/Curlybub26/memberType.jpg . The control is totally custom we are not using the ASP.NET login controls.
Retrieving Data from Member
Hi,
We are try to create our own update and register member controls. How do we display the data of the member that is currently logged in to the update profile control. We are trying to retrieve the address, city, login name and password. We added fields on the member type for address and city like this http://i59.photobucket.com/albums/g294/Curlybub26/memberType.jpg . The control is totally custom we are not using the ASP.NET login controls.
We are using umbraco 4.0.2.1 on MS SQL.
Thank you.
Hi
It's quite simple to retrieve member data from a logged in member use this c# example:
Wow! thanks!
But what about the password? How do we get it? We need it for the member profile update.
Thank you. ;)
Søren - Accessing members in that manner is ill-advised and it's no longer support (4.1 is going to see most of that obsoleted).
Here a blog post on how to use Umbraco members: http://www.aaron-powell.com/blog/july-2009/umbraco-member-profiles.aspx
I'll port the article to the wiki once we can upload images :P
Hey
Further to http://www.aaron-powell.com/blog/july-2009/umbraco-member-profiles.aspx I am somewhat confused . . .
I have created a class in the app_code directory of my site.
Aaron then states that the UmbracoMember.Web.MemberProfile is in the UmbracoMemberDemo.Web assembly
I'm stumped - how do you get a class into an assembly ? Sorry if this is a dumb question.
Thanks
Nigel
is working on a reply...