DLApp
There are no services matching that phrase.

/permission/has-user-permissions

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

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

This method does not support resources managed by the resource block system.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

groupId long

the primary key of the group containing the resource

resources java.util.List

representations of the resource at each scope level returned by {@link com.liferay.portal.security.permission.AdvancedPermissionChecker#getResources( long, long, String, String, String)}

actionId java.lang.String

the action's ID

permissionCheckerBag com.liferay.portal.security.permission.PermissionCheckerBag

the permission checker bag

Return Type

boolean

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

Exception

com.liferay.portal.kernel.exception.PortalException
if a resource action based on any one of the resources and the action ID could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long long java.util.List java.lang.String com.liferay.portal.security.permission.PermissionCheckerBag