AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IUserGroupManager.RemoveMemberGroups Method

Removes groups from a group.

void RemoveMemberGroups(
int parentGroupID,
int[] memberGroupIDs
);

#### Parameters

parentGroupID
  The ID of the parent group to remove the groups from.
memberGroupIDs
  An array of group IDs to remove from the parent group.

#### Remarks

Any invalid `memberGroupIDs` will be silently ignored. Passing a non-existent `parentGroupID` will result in a `PortalException`. Note: Since this method performs multiple operations, any exception thrown will have details of each failure.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | The operation resulted in an error on the portal.
ArgumentException | The method passed an invalid parent group ID.

#### See Also

IUserGroupManager Interface | Plumtree.Remote.PRC Namespace