Platforms to show: All Mac Windows Linux Cross-Platform
CKDiscoverUserInfosOperationMBS class Deprecated
Super class: CKOperationMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This operation returns information about the corresponding users.
Users of an app must opt in to discoverability before their user records can be accessed. To opt in for a user, your app must call the requestApplicationPermission:completion: method of your container object and request the userDiscoverability permission. Calling that method prompts the user to grant or deny the permission.
If you assign a completed event of the operation object, the completed event is called after the operation executes and returns its results to you. You can use a completed event to perform housekeeping chores related to the operation, but do not use it to process the results of the operation itself. Any completed event you specify should be prepared to handle the failure of the operation to complete its task, whether due to an error or an explicit cancellation.
Subclass of the CKOperationMBS class.
- event discoverUserInfosCompleted(emailsToUserInfos as Dictionary, userRecordIDsToUserInfos as Dictionary, operationError as NSErrorMBS)
- 6 methods
- method Constructor(emailAddresses() as String, userRecordIDs() as CKRecordIDMBS)
- method Destructor
- method emailAddresses as String()
- method setEmailAddresses(emails() as String)
- method setUserRecordIDs(IDs() as CKRecordIDMBS)
- method userRecordIDs as CKRecordIDMBS()
Super class CKOperationMBS
- 2 events
- event Completed
- event LongLivedOperationWasPersisted
- 8 properties
- property configuration as CKOperationConfigurationMBS
- property Handle as Integer
- property operationID as String
- 7 methods
- method cancel
- method Constructor
- method Destructor
- method isCancelled as boolean
- method isExecuting as boolean
- method isFinished as boolean
- method start
This class has no sub classes.
Blog Entries
Release notes
- Version 20.3
- Deprecated CKDiscoverUserInfosOperationMBS, CKDiscoverAllContactsOperationMBS and CKDiscoveredUserInfoMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CKDiscoverUserIdentitiesOperationMBS - CKFetchDatabaseChangesOperationMBS