Set user FirstName not working
string username = Request["username"];
UserManager userManager = UserManager.GetManager();
UserProfileManager profileManager = UserProfileManager.GetManager();
User user = userManager.GetUsers().Where(u => u.UserName == username).SingleOrDefault();
if(user != null)
//var profile = profileManager.GetUserProfile<SitefinityProfile>(user);
//profile.FirstName = tbFirstName.Text;
//UserProfileManager userProfileManager = UserProfileManager.GetManager();
//UserProfile profile1 = userProfileManager.GetUserProfile(user.Id, typeof(SitefinityProfile).FullName);
//Telerik.Sitefinity.Model.DataExtensions.SetValue(profile1, "FirstName", "FirstName");
user.Email = tbEmail.Text; //works!
userManager.SaveChanges();
None of commented methods work. Wht? Thanks!