Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Hello
I need to update the profile picture from code behind
Googling I found this code but I think it is wrong because it does not work
var FileController objFiles = new ();
FileInfo objFile = objFiles.GetFile ("filepath" PortalID);
myDnnUser.Profile.Photo = objFile.FileId;
ProfileController.UpdateUserProfile (myDnnUser);
How do I save the image? How do I access the folder where the profile images are stored?
Thank you!
regards