DLApp
There are no services matching that phrase.

/user/update-portrait

HTTP Method
POST
com.liferay.portal.service.UserServiceUtil#updatePortrait

Updates the user's portrait image.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

bytes byte[]

the new portrait image data

Return Type

com.liferay.portal.model.User

the user

Exception

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found, if the new portrait was invalid, or if the current user did not have permission to update the user
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long byte[]