---
title: "assign(to:)"
framework: Assignables
role: symbol
role_heading: Instance Method
platforms: [iOS 17.4+, iPadOS 17.4+, Mac Catalyst 17.4+]
path: "assignables/assignable/assign(to:)-4mit8"
---

# assign(to:)

Assign this document to a user.

## Declaration

```swift
func assign(to userIdentity: some UserIdentity) throws -> AssignedWorkDocument
```

## Parameters

- `userIdentity`: The identity of the user to assign this document to.

## Return Value

Return Value A work document for the taker of the assignable document.

## See Also

### Assigning a document

- [assign(to:)](assignables/assignable/assign(to:)-4jnsl.md)
