Contents

shareParticipant(forUserRecordID:)

Fetches the share participant with the specified user record ID.

Declaration

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

Parameters

  • userRecordID:

    The share participant’s user record ID.

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.