Cant able to update the current user? why? CV is just a string field,not only cv,if I set firstname or lastname,still cant able to update it.Why?
UserInfo currentUser = UserInfoProvider.GetUserInfo(CurrentUser.UserID); currentUser.SetValue("CV", file); currentUser.Update();
Can you verify that the user obj isn't null and that the field CV exists on the user table?
When you add custom fields, I believe they all go to the UserSettings object. Have you tried currentUser.UserSettings.SetValue("CV", file");
currentUser.UserSettings.SetValue("CV", file");
Try UserInfoProvider.SetUserInfo(currentUser);
UserInfoProvider.SetUserInfo(currentUser);
Please, sign in to be able to submit a new answer.