---
title: id
framework: distributed
role: symbol
role_heading: Instance Property
path: distributed/distributedactor/id
---

# id

Logical identity of this distributed actor.

## Declaration

```swift
override nonisolated var id: Self.ID { get }
```

## Discussion

Discussion Many distributed actor references may be pointing at, logically, the same actor. For example, calling resolve(id:using:) multiple times, is not guaranteed to return the same exact resolved actor instance, however all the references would represent logically references to the same distributed actor, e.g. on a different node. Depending on the capabilities of the actor system producing the identifiers, the ID may also be used to store instance specific metadata. Synthesized property In concrete distributed actor declarations, a witness for this protocol requirement is synthesized by the compiler. It is not possible to assign a value to the id directly; instead, it is assigned during an actors init (or resolve), by the managing actor system.
