Reputation:
How do I get Profile valueof anybody(Profile.Age,Profile.Name) when the user is not logged in?
Upvotes: 1
Views: 59
Reputation: 37104
Easy.
var profile = ProfileBase.Create(username,true);
var age = (int)profile.GetPropertyValue("Age");
Upvotes: 1