DLApp
Il n'y a aucun service assortissant cette expression.

/role/get-role

Méthode de HTTP
GET
com.liferay.portal.service.RoleServiceUtil#getRole

Returns the role with the name in the company.

The method searches the system roles map first for default roles. If a role with the name is not found, then the method will query the database.

Paramètres

p_auth String

authentication token used to validate the request

companyId long

the primary key of the company

name java.lang.String

the role's name

Type de retour

com.liferay.portal.model.Role

the role with the name

Exception

com.liferay.portal.kernel.exception.PortalException
if a role with the name could not be found in the company or if the user did not have permission to view the role
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String long java.lang.String