<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Collaboration",
  "identifier" : "/documentation/Collaboration/CBGroupIdentity",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Collaboration"
    ],
    "preciseIdentifier" : "c:objc(cs)CBGroupIdentity"
  },
  "title" : "CBGroupIdentity"
}
-->

# CBGroupIdentity

An object of the `CBGroupIdentity` class represents a group identity and is used for viewing the attributes of group identities from an identity authority. The principal attributes of a `CBGroupIdentity` object are a POSIX group identifier (GID) and a list of members.

```
class CBGroupIdentity
```

## Topics

### Finding Group Identities

[`+  groupIdentityWithPosixGID:authority:`](/documentation/Collaboration/CBGroupIdentity/init(posixGID:authority:))

Returns the group identity with the given POSIX GID in the specified identity authority.

### Group Identity Attributes

[`posixGID`](/documentation/Collaboration/CBGroupIdentity/posixGID)

Returns the POSIX GID of the identity.

[`members`](/documentation/Collaboration/CBGroupIdentity/members)

Returns the members of the group.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

### Inherits From

[`CBIdentity`](/documentation/Collaboration/CBIdentity)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)