lodun
lodun

Reputation:

Profile.Get in ASP.NET

How do I get Profile valueof anybody(Profile.Age,Profile.Name) when the user is not logged in?

Upvotes: 1

Views: 59

Answers (1)

Sky Sanders
Sky Sanders

Reputation: 37104

Easy.

var profile = ProfileBase.Create(username,true);
var age = (int)profile.GetPropertyValue("Age");

Upvotes: 1

Related Questions