---
title: "fetchShareParticipant(withEmailAddress:completionHandler:)"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/ckcontainer/fetchshareparticipant(withemailaddress:completionhandler:)"
---

# fetchShareParticipant(withEmailAddress:completionHandler:)

Fetches the share participant with the specified email address.

## Declaration

```swift
func fetchShareParticipant(withEmailAddress emailAddress: String, completionHandler: @escaping @Sendable (CKShare.Participant?, (any Error)?) -> Void)
```

## Parameters

- `emailAddress`: The share participant’s email address.
- `completionHandler`: The handler to execute with the fetch results.

## Discussion

Discussion The closure doesn’t return a value and takes the following parameters: The share participant, or nil if CloudKit can’t find the participant. An error if a problem occurs, or nil if CloudKit successfully retrieves the participant. CloudKit can translate any valid email address into a share participant.  If the email address 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 email address 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.

## See Also

### Discovering User Records

- [discoverAllIdentities(completionHandler:)](cloudkit/ckcontainer/discoverallidentities(completionhandler:).md)
- [discoverUserIdentity(withEmailAddress:completionHandler:)](cloudkit/ckcontainer/discoveruseridentity(withemailaddress:completionhandler:).md)
- [discoverUserIdentity(withPhoneNumber:completionHandler:)](cloudkit/ckcontainer/discoveruseridentity(withphonenumber:completionhandler:).md)
- [discoverUserIdentity(withUserRecordID:completionHandler:)](cloudkit/ckcontainer/discoveruseridentity(withuserrecordid:completionhandler:).md)
- [fetchShareParticipant(withPhoneNumber:completionHandler:)](cloudkit/ckcontainer/fetchshareparticipant(withphonenumber:completionhandler:).md)
- [fetchShareParticipant(withUserRecordID:completionHandler:)](cloudkit/ckcontainer/fetchshareparticipant(withuserrecordid:completionhandler:).md)
- [fetchUserRecordID(completionHandler:)](cloudkit/ckcontainer/fetchuserrecordid(completionhandler:).md)
- [CKCurrentUserDefaultName](cloudkit/ckcurrentuserdefaultname.md)
- [CKOwnerDefaultName](cloudkit/ckownerdefaultname.md)
