views:

525

answers:

1

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
YesWill change common profile? I need property changed for specific "another" user
LicenseQ
I edited my post. I had the USERNAME in angle brackets, so it was invisible. This should work now.
Stefan