DLApp
There are no services matching that phrase.

/user/update-agreed-to-terms-of-use

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

Updates the user's response to the terms of use agreement.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

agreedToTermsOfUse boolean

whether the user has agree to the terms of use

Return Type

com.liferay.portal.model.User

the user

Exception

com.liferay.portal.kernel.exception.PortalException
if the current user did not have permission to update the user's agreement to terms-of-use
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long
boolean