# \_setUser

Set the User for a group of Appointments.

### Parameters

#### appointment\_ids

List the appointment ids which will have the user set.

#### user\_id

The ID of the user to be set.

### Example

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

### Result

#### On Success

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