---
title: hasiCloudAccount
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckuseridentity/hasicloudaccount
---

# hasiCloudAccount

A Boolean value that indicates whether the user has an iCloud account.

## Declaration

```swift
var hasiCloudAccount: Bool { get }
```

## Discussion

Discussion true if the user identity has an iCloud account; otherwise, false.

## See Also

### Accessing iCloud Information

- [lookupInfo](cloudkit/ckuseridentity/lookupinfo-swift.property.md)
- [CKUserIdentity.LookupInfo](cloudkit/ckuseridentity/lookupinfo-swift.class.md)
