Class

CKUserIdentity

A reference to a user.

Declaration

class CKUserIdentity : NSObject

Topics

Accessing the User Metadata

var hasiCloudAccount: Bool

A Boolean value indicating whether this user has an iCloud account.

var lookupInfo: CKUserIdentity.LookupInfo?

The information (phone number, email address, etc.) used to retrieve this user.

var nameComponents: PersonNameComponents?

The name of the user associated with the specified user identity object.

var userRecordID: CKRecord.ID?

Unique identifier for this record.

Constants

let CKOwnerDefaultName: String

The user ID representing the current user. Use this value when creating zone IDs.

Deprecated
let CKCurrentUserDefaultName: String

The default name for the current user.

Classes

class CKUserIdentity.LookupInfo

An object that represents information you use to fetch users.

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.LookupInfo

An object that represents information you use to fetch users.

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.