A reference to a user.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
class CKUserIdentity : NSObject
A reference to a user.
SDKs
Framework
class CKUserIdentity : NSObject
var hasi Cloud Account: Bool
A Boolean value indicating whether this user has an iCloud account.
var lookup Info: CKUser Identity .Lookup Info?
The information (phone number, email address, etc.) used to retrieve this user.
var name Components: Person Name Components?
The name of the user associated with the specified user identity object.
var user Record ID: CKRecord .ID?
Unique identifier for this record.
let CKOwner Default Name: String
The user ID representing the current user. Use this value when creating zone IDs.
let CKCurrent User Default Name: String
The default name for the current user.
class CKUser Identity .Lookup Info
An object that represents information you use to fetch users.
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 CKUser Identity .Lookup Info
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.
Operations used to look up users and maintain the state of the app's badge.