Accessing membership data with the old api is easy
var arne = Member.GetMemberFromLoginName("arne"); // deprecated var arneProperty = arneUmbraco.getProperty("property");
It works but the GetMemberFromLoginName is deprecated and a reference is left to ASP.NET Membership.
var arne = Membership.GetUser("arne");
Thats fair enough, but how do I load the property? In the context Im working I can't access the HttpContext.Current.Profile since I actually load the user myself.
var profile = HttpContext.Current.Profile; // This won't work...
Member Profile data with ASP.NET Membership
Accessing membership data with the old api is easy
Thats fair enough, but how do I load the property? In the context Im working I can't access the HttpContext.Current.Profile since I actually load the user myself.
Any advice? Thanks
Maybe this can help: http://www.aaron-powell.com/umbraco-members-profiles.
Jeroen
is working on a reply...