AnnouncementsDelivery
DLApp
FlagsEntry
LayoutRevision
PollsVote
There are no services matching that phrase.

/permission/has-user-permission

HTTP Method
GET
com.liferay.portal.service.PermissionServiceUtil#hasUserPermission

Returns true if the user has permission to perform the action on the resource.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

actionId java.lang.String

the action's ID

resourceId long

the primary key of the resource

Return Type

boolean

true if the user has permission to perform the action on the resource; false otherwise

Exception

com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long java.lang.String long