DLApp
Non ci sono servizi che abbinano quella frase.

/user/has-role-user

Metodo HTTP
GET
com.liferay.portal.service.UserServiceUtil#hasRoleUser

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

Parametri

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 di ritorno

boolean

true if the user has the role; false otherwise

Eccezione

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

Esegui

String long java.lang.String long
boolean