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

/group/has-user-group

Método do HTTP
GET
com.liferay.portal.service.GroupServiceUtil#hasUserGroup

Returns true if the user is associated with the group, including the user's inherited organizations and user groups. System and staged groups are not included.

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

Tipo de retorno

boolean

true if the user is associated with the group; false otherwise

Exceção

com.liferay.portal.kernel.exception.PortalException
if the current user did not have permission to view the user or group members
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Executar

String long long