DLApp
There are no services matching that phrase.

/user/update-organizations

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

Sets the organizations that the user is in, removing and adding organizations as necessary.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

organizationIds long[]

the primary keys of the organizations

serviceContext com.liferay.portal.service.ServiceContext

Return Type

void

Exception

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found 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 long[]