Obtain a list of the identifier of the groups to which the user or the party is affiliated with using both the “code” and the “design” method, given below the related description:

bpmAppService.BPMSServices.MercuryService.GetAllGroups (input1);
input1: ID Staff or ID User (for example: bpmAppService.BPMSServices.MercuryService.CurrentStaff.ID)
Output: List