---
title: "removeMemberRecord(_:)"
framework: opendirectory
role: symbol
role_heading: Instance Method
path: "opendirectory/odrecord/removememberrecord(_:)"
---

# removeMemberRecord(_:)

Removes a record as a member of this group record.

## Declaration

```swift
func removeMemberRecord(_ inRecord: ODRecord!) throws
```

## Parameters

- `inRecord`: The member record.

## Discussion

Discussion This method produces an error if this record is not a group record, or if inRecord is not an appropriate type. note: In Swift, this method returns Void and is marked with the throws keyword to indicate that it throws an error in cases of failure. You call this method in a try expression and handle any errors in the catch clauses of a do statement, as described in Error Handling in The Swift Programming Language and About Imported Cocoa Error Parameters.

## See Also

### Managing Group Records

- [addMemberRecord(_:)](opendirectory/odrecord/addmemberrecord(_:).md)
- [isMemberRecord(_:)](opendirectory/odrecord/ismemberrecord(_:).md)
