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

# isMemberRecord(_:)

Determines whether a given record is a member of this group record.

## Declaration

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

## Parameters

- `inRecord`: The record to test for membership.

## Discussion

Discussion If this record is not a group record, this method returns false. 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)
- [removeMemberRecord(_:)](opendirectory/odrecord/removememberrecord(_:).md)
