I am building my own "user profile"
module where one of the options, the user can change his default dnn
profile image. I am having problems doing this "in the code behind". I am using c#
.
This is what I have so far:
UserInfo myDnnUser = this.UserInfo;
myDnnUser.Profile.InitialiseProfile(PortalId);
myDnnUser.Profile.SetProfileProperty("Photo", "new filename");
myDnnUser.Profile.SetProfileProperty("PhotoURL", "new url");
ProfileController.UpdateUserProfile(myDnnUser);
But its not working, and when I view the "File" table that dnn uses, its still the same (old) filename.
Any ideas?