> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/jobs/_setuser.md).

# \_setUser

Set the User for a group of Jobs.

### Parameters

#### appointment\_ids

List the Job IDs which will have the user set.

#### user\_id

The ID of the user to be set.

### Example

```
FM_api('Jobs_setUser', ['appointment_ids' =>[ '77', '41', '42'], 'user_id' => '82878']);
```

### Result

#### On Success

```
"[82878,"0"]"
```
