# removegrp

### Inaport Gold and above only

### removegrp(groupName, userId)

Removes the specified group from GoldMine.

## Arguments

Argument | Data Type | Description
groupName | string | Name of GoldMine group that is to be removed
userId | string | The user ID that is the owner of the group

## Returns

No value returned.

## Description

Removes the current contact from the group specified by the groupName parameter. The userId specifies owner of the group if different from the user ID that is set up when the import is created.

## Examples

Example | Returns | Description
removegrp("NewInvoices") |  | removes the group "NewInvoices" from GoldMine
removegrp("NewInvoices", "BLOGGS") |  | removes the group "NewInvoices" from GoldMine that is owned by the user ID "BLOGGS"

## See Also

addtogrp(), attachap(), cleargrp(), makegrp(), removefromgrp()