ASP.NET c# Profile: GetProfile not avalaible [duplicate]
-
11-12-2019 - |
Domanda
Possible Duplicate:
how to use Profile.GetProfile() in a library class?
How to get profile in a cs class? It works fine in aspx.cs class.
ProfileCommon profile= HttpContext.Current.Profile.GetProfile(username);
How to make GetProfile() available in cs class? please advice, Thank you
Soluzione
Take a look at my answer about profiling users. There is all you need:
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow