---
title: "isMember(ofGroup:)"
framework: Collaboration
role: symbol
role_heading: Instance Method
platforms: [macOS 10.5+]
path: "collaboration/cbidentity/ismember(ofgroup:)"
---

# isMember(ofGroup:)

Returns a Boolean value indicating whether the identity is a member of the specified group.

## Declaration

```swift
func isMember(ofGroup group: CBGroupIdentity) -> Bool
```

## Parameters

- `group`: The group to check for membership.

## Return Value

Return Value true if the identity is a member of the group; false if it is not.

## See Also

### Getting Identity Attributes

- [aliases](collaboration/cbidentity/aliases.md)
- [authority](collaboration/cbidentity/authority.md)
- [emailAddress](collaboration/cbidentity/emailaddress.md)
- [fullName](collaboration/cbidentity/fullname.md)
- [image](collaboration/cbidentity/image.md)
- [isHidden](collaboration/cbidentity/ishidden.md)
- [posixName](collaboration/cbidentity/posixname.md)
- [uuidString](collaboration/cbidentity/uuidstring.md)
