DLApp
There are no services matching that phrase.

/role/get-role

HTTP Method
GET
com.liferay.portal.service.RoleServiceUtil#getRole

Returns the role with the primary key.

Parameters

p_auth String

authentication token used to validate the request

roleId long

the primary key of the role

Return Type

com.liferay.portal.model.Role

the role with the primary key

Exception

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