Class

CKUserIdentity.LookupInfo

An object that represents information you use to fetch users.

Topics

Accessing The Lookup Criteria

var emailAddress: String?

The email address of the user whose information you want to retrieve.

var phoneNumber: String?

The phone number of the user whose information you want to retrieve.

var userRecordID: CKRecord.ID?

The ID of the user record.

Creating an CKUserIdentityLookupInfo Object

init(emailAddress: String)

Initializes and returns a lookup info object with the email address property configured.

init(phoneNumber: String)

Initializes and returns a look up info object with the phone number property configured.

init(userRecordID: CKRecord.ID)

Initializes and returns a look up info object with the user record ID property configured.

class func lookupInfos(withEmails: [String]) -> [CKUserIdentity.LookupInfo]

Returns an array of user identity lookup objects configured with email addresses as the search criteria.

class func lookupInfos(withPhoneNumbers: [String]) -> [CKUserIdentity.LookupInfo]

Returns an array of user identity lookup objects configured with phone numbers as the search criteria.

class func lookupInfos(with: [CKRecord.ID]) -> [CKUserIdentity.LookupInfo]

Returns an array of user identity lookup objects configured with phone numbers as the search criteria.

Relationships

Inherits From

See Also

Database Management

class CKContainer

An encapsulation of content associated with an app.

class CKDatabase

A conduit for accessing and performing operations on the data of an app container.

class CKUserIdentity

A reference to a user.

struct CKContainer_Application_Permissions

Constants indicating the permissions granted to the app by the user.

Database Operations

Operations used to look up users and maintain the state of the app's badge.