The Storing User Profile quickstart gives some information about managing ASP.NET user profile. In my case the administrator has to be able to change/monitor some properties with profiles. Is it posible to access and change user profile's properties in another user profile by using default SqlServerProfileProvider and how? Thanks.
+2
A:
If by "another user profile" you mean the profile of a user who is not the current user:
ProfileCommon userProfile = Profile.GetProfile(USERNAME);
userProfile.Property = "blah";
Stefan
2009-02-05 23:47:07
YesWill change common profile? I need property changed for specific "another" user
LicenseQ
2009-02-05 23:53:39
I edited my post. I had the USERNAME in angle brackets, so it was invisible. This should work now.
Stefan
2009-02-05 23:59:40