# removefromgrp

### Inaport Gold and above only

### removefromgrp(groupName, userId)

Removes the current contact from the specified group that is owned by the specified user ID.

## Arguments

Argument | Data Type | Description
groupName | string | Name of GoldMine group that the contact is to be removed from
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
removefromgrp("NewInvoices") |  | removes the current contact from the group "NewInvoices" in GoldMine
removefromgrp("NewInvoices", "BLOGGS") |  | removes the current contact from the group "NewInvoices" in GoldMine that is owned by the user ID "BLOGGS"

## See Also

addtogrp(), attachap(), cleargrp(), makegrp(), removegrp()