API
Version 7.x > API > Uploading User Picture through Custom Code View modes: 
User avatar
Member
Member
gmac - 6/26/2013 12:18:08 PM
   
Uploading User Picture through Custom Code
I am using a Telerik Control to upload a picture into a byte[]

I want to store this byte array in association with a User, ie their User Picture in the UserSettings Table. How would this be possible using custom code and not the cms web parts.

Most of the documentation I've found is out of date and does not work.

Thanks!

User avatar
Member
Member
kentico_sandroj - 7/1/2013 5:17:06 PM
   
RE:Uploading User Picture through Custom Code
Hello,

User pictures are stored as avatars in the CMS_Avatar table. You could take a look at the API examples for inspiration. I assume you were using the UserPicture column in CMS_UserSettings which is why it did not work as expected. Please try working with the avatars and let us know if you need any assistance.

Regards,
Sandro