# ImpersonationType

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ImpersonationType/

Impersonation type.

- **Full name:** `MFiles.ImpersonationType`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-IMPERSONATION_TYPE_SYSTEM_ACCOUNT"></a>`IMPERSONATION_TYPE_SYSTEM_ACCOUNT` | 0 | Local System account. |
| <a id="v-IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT"></a>`IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT` | 1 | Specific Windows account. |
| <a id="v-IMPERSONATION_TYPE_EXTERNAL_ACCOUNT"></a>`IMPERSONATION_TYPE_EXTERNAL_ACCOUNT` | 2 | Specific account for an external facility or service such as a database server. |

<a id="used-in-fields"></a>

## Used in fields

- [`Impersonation.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Impersonation/index.md#f-type): Impersonation type.
