Contents

allUserIdentitiesFromContacts()

Fetches all user identities that match entries in the user’s Contacts.

Declaration

func allUserIdentitiesFromContacts() async throws -> [CKUserIdentity]

Return Value

The user identities that match entries in the user’s Contacts.

Discussion

This method searches for the users asynchronously and with a low priority. If you want the task to execute with a higher priority, create an instance of CKDiscoverAllUserIdentitiesOperation and configure it to use the necessary priority.