---
title: discoverAllUserIdentitiesResultBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckdiscoveralluseridentitiesoperation/discoveralluseridentitiesresultblock
---

# discoverAllUserIdentitiesResultBlock

The closure to execute when the operation finishes.

## Declaration

```swift
var discoverAllUserIdentitiesResultBlock: ((Result<Void, any Error>) -> Void)? { get set }
```

## Discussion

Discussion The closure returns no value and takes the following parameter: A Result that contains either: A successful Result, or An error that contains information about a problem encountered fetching the user identities. The closure executes only once, and represents your final opportunity to process the operation’s results. The closure executes serially with respect to the other closures of the operation. Update the value of this property before you execute the operation or submit it to a queue.
