---
title: lastModifiedUserRecordID
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckrecord/lastmodifieduserrecordid
---

# lastModifiedUserRecordID

The ID of the user who most recently modified the record.

## Declaration

```swift
@NSCopying var lastModifiedUserRecordID: CKRecord.ID? { get }
```

## Discussion

Discussion Use this property’s value to retrieve the user record of the user who most recently modified this record. Every user of the app has a unique user record that is empty by default. Apps can add data to the user record on behalf of the user, but don’t store sensitive data in it.

## See Also

### Accessing the Record’s Metadata

- [recordID](cloudkit/ckrecord/recordid.md)
- [recordType](cloudkit/ckrecord/recordtype-6v7au.md)
- [CKRecord.SystemType](cloudkit/ckrecord/systemtype.md)
- [creationDate](cloudkit/ckrecord/creationdate.md)
- [creatorUserRecordID](cloudkit/ckrecord/creatoruserrecordid.md)
- [modificationDate](cloudkit/ckrecord/modificationdate.md)
- [recordChangeTag](cloudkit/ckrecord/recordchangetag.md)
- [CKRecord.ID](cloudkit/ckrecord/id.md)
