DLApp
Il n'y a aucun service assortissant cette expression.

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

Méthode de HTTP
POST
com.liferay.portal.service.UserServiceUtil#updateAgreedToTermsOfUse

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

Paramètres

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

Type de retour

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

Exécuter

String long
boolean