Removing a member or user from a group can be done using both the “code” and the “design” method, which is given below with related explanations.

bpmAppService.BPMSServices.MercuryService.RemoveMemberOfGroup(input1,input2,input3);
input1: ID Group
input2: ID User or ID Staff
input3: True or False ( True= Catalog Bpms , False= Catalo Eoffice)
Output: Void