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

/role/unset-user-roles

Método do HTTP
POST
com.liferay.portal.service.RoleServiceUtil#unsetUserRoles

Removes the matching roles associated with the user. The user is reindexed after the roles are removed.

Parâmetros

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

roleIds long[]

the primary keys of the roles

Tipo de retorno

void

Exceção

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found, if the user did not have permission to remove members from a role, or if a role with any one of the primary keys could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Executar

String long long[]