开发者

Profile.Get in ASP.NET

开发者 https://www.devze.com 2022-12-29 08:28 出处:网络
How do I get Profile valueof anybody(Profile.Age,Profile.Name) when the user is not 开发者_StackOverflowlogged in?Easy.

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


Easy.

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

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号