# AccountType

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.AccountType/

Account type enumeration.

- **Full name:** `MFiles.AccountType`
- **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-ACCOUNT_TYPE_UNINITIALIZED"></a>`ACCOUNT_TYPE_UNINITIALIZED` | 0 | Uninitialized. |
| <a id="v-ACCOUNT_TYPE_MFILES"></a>`ACCOUNT_TYPE_MFILES` | 1 | M-Files authentication. |
| <a id="v-ACCOUNT_TYPE_WINDOWS"></a>`ACCOUNT_TYPE_WINDOWS` | 2 | Windows authentication. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCLogin.GetAuthenticationConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationConfiguration/index.md): Tells a client, before login, whether to authenticate with an authentication plug-in (single sign-on) and returns the plug-in's client-side configuration.

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

## Used in fields

- [`Login.account_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Login/index.md#f-account_type): Account type (e.g. M-Files or Windows).
- [`SessionData.account_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SessionData/index.md#f-account_type): Whether the login account is an M-Files or a Windows account.
- [`GetAuthenticationConfigurationRequest.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationConfiguration/index.md#request): The account type to find a configuration for. Leave unset when unknown.
