G
Guest
I've added a number of additional properties to my profile. Sometimes, the
values are populated when the user is retrieved from the database, but
sometimes the values are empty/default. How can I make sure that the values
are always populated correctly?
Further example, my website is working reliably enough, but I'm trying to
access the user profiles from an offline application, and very few of the
custom properties are being returned to my offline application (whereas they
are still visible in the online app).
3 questions:
1) What's the proper way to read a user's profile from an offline
application/class library. I am currently using
System.Web.Profile.ProfileBase.Create(username, true). I'll be looping
through profiles in a batch job.
2) Why is my offline app not showing all of the profile properties (but is
showing some of them? I have the same entries in my app.config file as on my
website. (yes even made sure that they are under <system.web>)
3) In my website, why are my custom property values sometimes empty? If I
need to "get profile for user X" even if user x isn't the current user,
what's the correct procedure?
values are populated when the user is retrieved from the database, but
sometimes the values are empty/default. How can I make sure that the values
are always populated correctly?
Further example, my website is working reliably enough, but I'm trying to
access the user profiles from an offline application, and very few of the
custom properties are being returned to my offline application (whereas they
are still visible in the online app).
3 questions:
1) What's the proper way to read a user's profile from an offline
application/class library. I am currently using
System.Web.Profile.ProfileBase.Create(username, true). I'll be looping
through profiles in a batch job.
2) Why is my offline app not showing all of the profile properties (but is
showing some of them? I have the same entries in my app.config file as on my
website. (yes even made sure that they are under <system.web>)
3) In my website, why are my custom property values sometimes empty? If I
need to "get profile for user X" even if user x isn't the current user,
what's the correct procedure?