<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUserActivity/contextIdentifierPath",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUserActivity(py)contextIdentifierPath"
  },
  "title" : "contextIdentifierPath"
}
-->

# contextIdentifierPath

The identifier path associated with a user activity generated by an app that adopts ClassKit.

```
var contextIdentifierPath: [String]? { get }
```

## Discussion

If you receive an [`NSUserActivity`](/documentation/Foundation/NSUserActivity) instance that has its [`isClassKitDeepLink`](/documentation/Foundation/NSUserActivity/isClassKitDeepLink) property set to <doc://com.apple.documentation/documentation/Swift/true>, then the activity’s [`contextIdentifierPath`](/documentation/Foundation/NSUserActivity/contextIdentifierPath) contains the identifier path of the context associated with the assignment that the user tapped to generate the user activity. See <doc://com.apple.documentation/documentation/ClassKit/linking-directly-to-assignments> for more information.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)