---
title: CBIdentityPicker
framework: Collaboration
role: symbol
role_heading: Class
platforms: [macOS 10.5+]
path: collaboration/cbidentitypicker
---

# CBIdentityPicker

A CBIdentityPicker object allows a user to select identities—for example, user or group objects—that it wants one or more services or shared resources to have access to. An identity picker can be displayed either as an application-modal dialog or as a sheet attached to a document window. An identity picker returns the selected records to be added to access control lists using Collaboration. If a selected record is not a user or group identity, then an identity picker prompts the user for additional information—such as a password—to promote that record to a sharing account.

## Declaration

```swift
class CBIdentityPicker
```

## Topics

### Running an Identity Picker

- [runModal(for:modalDelegate:didEnd:contextInfo:)](collaboration/cbidentitypicker/runmodal(for:modaldelegate:didend:contextinfo:).md)
- [runModal(for:completionHandler:)](collaboration/cbidentitypicker/runmodal(for:completionhandler:).md)
- [runModal()](collaboration/cbidentitypicker/runmodal().md)

### Retrieving Identities

- [identities](collaboration/cbidentitypicker/identities.md)

### Setting and Getting Properties

- [title](collaboration/cbidentitypicker/title.md)
- [allowsMultipleSelection](collaboration/cbidentitypicker/allowsmultipleselection.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
