Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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