# fetchFilePermissionByTypeAndRelatedToId

**Kind:** Function

**Source:** `Outlook_plugin/src/attachement/attachement.service.ts` (line 533)

**Part of:** [Attachement](subsystem-outlook-plugin-src-attachement)

## Signature

```ts
async function fetchFilePermissionByTypeAndRelatedToId(typeId: number, relatedId: number): Promise<any[]>
```

## Parameters

| Name | Type |
|---|---|
| `typeId` | `number` |
| `relatedId` | `number` |

**Returns:** `Promise<any[]>`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `handleErrorResponse` — `Outlook_plugin/src/taskpane/taskpane.ts`:69
