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

/role/has-user-role

Método do HTTP
GET
com.liferay.portal.service.RoleServiceUtil#hasUserRole

Returns true if the user is associated with the named regular role.

Parâmetros

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

companyId long

the primary key of the company

name java.lang.String

the name of the role

inherited boolean

whether to include the user's inherited roles in the search

Tipo do retorno

boolean

true if the user is associated with the regular role; false otherwise

Exceção

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

Execute

String long long java.lang.String
boolean