Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
I wanted to edit user profile from the mashup (at run time). As any user can login to system and can change its details. Can we change user avatar from mashup. I know from composer we can but at run time can we ?
Thanks and Regards,
Vishal Vaidya
Hi Vishal,
To set user's avatar please use below method in your service.
var params = {
content: undefined /* IMAGE */
};
// no return
Users["YourUserName"].SetAvatar(params);
Regards,
Lalit