---
title: currentUser
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cksyncengineaccountchangeevent/currentuser
---

# currentUser

The current iCloud account’s record identifier.

## Declaration

```occ
@property (nonatomic, copy, readonly, nullable) CKRecordID * currentUser;
```

## Discussion

Discussion If the user just signed in or switched accounts, this is the new user record ID. If the user signed out, this is nil.

## See Also

### Understanding the change

- [changeType](cloudkit/cksyncengineaccountchangeevent/changetype.md)
- [CKSyncEngineAccountChangeType](cloudkit/cksyncengineaccountchangetype.md)
- [previousUser](cloudkit/cksyncengineaccountchangeevent/previoususer.md)
