DLApp
No hay servicios que concuerden con ese texto.

/user/has-role-user

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

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

Parámetros

p_auth String

authentication token used to validate the request

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 de retorno

boolean

true if the user has the role; false otherwise

Excepción

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

Ejecutar

String long java.lang.String long
boolean