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

# shareParticipant(forUserRecordID:)

Fetches the share participant with the specified user record ID.

## Declaration

```swift
func shareParticipant(forUserRecordID userRecordID: CKRecord.ID) async throws -> CKShare.Participant
```

## Parameters

- `userRecordID`: The share participant’s user record ID.

## Discussion

Discussion Returns The share participant for the user record ID. 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.
