---
title: "shareParticipant(forPhoneNumber:)"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/ckcontainer/shareparticipant(forphonenumber:)"
---

# shareParticipant(forPhoneNumber:)

Fetches the share participant with the specified phone number.

## Declaration

```swift
func shareParticipant(forPhoneNumber phoneNumber: String) async throws -> CKShare.Participant
```

## Parameters

- `phoneNumber`: The share participant’s phone number.

## Return Value

Return Value The share participant for the phone number.

## Discussion

Discussion CloudKit can translate any valid phone number into a share participant.  If the phone number doesn’t correspond to a known iCloud account, then at share-accept-time, CloudKit offers the accepting participant a vetting process. The accepting participant uses this vetting process to link the phone number to an iCloud account. This method searches for the share participant asynchronously and with a low priority. If you want the task to execute with a higher priority, create an instance of CKFetchShareParticipantsOperation and configure it to use the necessary priority.
