DLApp
No hay servicios que concuerden con ese texto.

/permission/has-user-permissions

Método HTTP
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.

Parámetros

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

Tipo de retorno

boolean

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

Excepción

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

Ejecutar

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