<!--
{
  "availability" : [
    "iOS: 17.4.0 - 18.0.0",
    "iPadOS: 17.4.0 - 18.0.0",
    "macCatalyst: 17.4.0 - 18.0.0",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Assignables",
  "identifier" : "/documentation/Assignables/AssignableDocument/assign(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Assignables"
    ],
    "preciseIdentifier" : "s:11Assignables18AssignableDocumentV6assign2toAA012AssignedWorkC0VAA15AnyUserIdentityV_tKF"
  },
  "title" : "assign(to:)"
}
-->

# assign(to:)

Assign this document to a user.

```
func assign(to userIdentity: AnyUserIdentity) throws -> AssignedWorkDocument
```

## Parameters

`userIdentity`

The identity of the user to assign this document to.

## Return Value

A work document for the taker of the assignable document.

---

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)