DLApp
Não há nenhum serviço que combina essa frase.

/user/has-role-user

Método do HTTP
GET
com.liferay.portal.service.UserServiceUtil#hasRoleUser

Returns true if the user has the role with the name, optionally through inheritance.

Parâmetros

companyId long

the primary key of the role's company

name java.lang.String

the name of the role (must be a regular role, not an organization, site or provider role)

userId long

the primary key of the user

inherited boolean

whether to include roles inherited from organizations, sites, etc.

Tipo do retorno

boolean

true if the user has the role; false otherwise

Exceção

com.liferay.portal.kernel.exception.PortalException
if a role with the name could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

long java.lang.String long
boolean