AnnouncementsDelivery
DLApp
FlagsEntry
LayoutRevision
PollsVote
There are no services matching that phrase.

/user/update-status

Método do HTTP
POST
com.liferay.portal.service.UserServiceUtil#updateStatus

Updates the user's workflow status.

Parâmetros

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

status int

the user's new workflow status

Tipo de retorno

com.liferay.portal.model.User

the user

Exceção

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found, if the current user was updating her own status to anything but {@link WorkflowConstants.STATUS_APPROVED}, or if the current user did not have permission to update the user's workflow status.
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Executar

String long int