(L7.2)How to update user profile picture in custom portlet

thumbnail
Kiran Yalavali, modified 5 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Hi All,Already I have read some blogs but no use, In Liferay 7.2 How to update user profile picture for our custom portlet,  Any help?Thanks in advance,
thumbnail
Mohammed Yasin, modified 5 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
Hi ,You can try using below Api 
UserLocalServiceUtil.updatePortrait(userId, bytes)