Question

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.

Was it helpful?

Solution

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";
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top