DLApp
There are no services matching that phrase.

/user/get-default-user-id

HTTP Method
GET
com.liferay.portal.service.UserServiceUtil#getDefaultUserId

Returns the primary key of the default user for the company.

Parameters

p_auth String

authentication token used to validate the request

companyId long

the primary key of the company

Return Type

long

the primary key of the default user for the company

Exception

com.liferay.portal.kernel.exception.PortalException
if a default user for the company could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred