# LicenseType

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

License type enumeration.

- **Full name:** `MFiles.LicenseType`
- **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-LICENSE_TYPE_NONE"></a>`LICENSE_TYPE_NONE` | 0 | No license. |
| <a id="v-LICENSE_TYPE_NAMED_USER_LICENSE"></a>`LICENSE_TYPE_NAMED_USER_LICENSE` | 1 | Named user license. |
| <a id="v-LICENSE_TYPE_CONCURRENT_USER_LICENSE"></a>`LICENSE_TYPE_CONCURRENT_USER_LICENSE` | 2 | Concurrent user license. |
| <a id="v-LICENSE_TYPE_READ_ONLY_LICENSE"></a>`LICENSE_TYPE_READ_ONLY_LICENSE` | 3 | Read-only license. |
| <a id="v-LICENSE_TYPE_VISITOR_LICENSE"></a>`LICENSE_TYPE_VISITOR_LICENSE` | 4 | Visitor license. |

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

## Used by methods

- [IRPCLoginsAdmin.ModifyLogin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLoginsAdmin/ModifyLogin/index.md): Changes a login account: its server roles and enabled state, and optionally its password, full name, e-mail address and license type.
- [IRPCVaultAdmin.GetAzureADProvisioningState](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/GetAzureADProvisioningState/index.md): Gets whether user provisioning (SCIM) from Microsoft Entra ID (Azure AD) is enabled in the vault, and the license type of provisioned users.
- [IRPCVaultAdmin.SetAzureADProvisioningState](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/SetAzureADProvisioningState/index.md): Enables or disables user provisioning (SCIM) from Microsoft Entra ID (Azure AD) in the vault.
- [IRPCVaultLoginsAdmin.ModifyVaultLogin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/ModifyVaultLogin/index.md): Changes the server roles, password, full name, email address or license type of a vault login.

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

## Used in fields

- [`BasicVaultLoginAccountInfo.license_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.BasicVaultLoginAccountInfo/index.md#f-license_type): The license type of this login account.
- [`Login.license_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Login/index.md#f-license_type): License type.
- [`SessionData.license_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SessionData/index.md#f-license_type): The license the session uses.
- [`SessionInfoServer.license_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SessionInfoServer/index.md#f-license_type): The license type of the logged-in user.
- [`UserGroup.license_type_for_new_logins`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.UserGroup/index.md#f-license_type_for_new_logins): Type of the license for logins created automatically.
- [`ModifyLoginRequest.licensetype`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLoginsAdmin/ModifyLogin/index.md#request): The license type of the account.
- [`GetAzureADProvisioningStateResponse.lisence_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/GetAzureADProvisioningState/index.md#response): The license type that new provisioned users get.
- [`SetAzureADProvisioningStateRequest.lisence_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/SetAzureADProvisioningState/index.md#request): The license type that new provisioned users get when provisioning is enabled.
- [`ModifyVaultLoginRequest.licensetype`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/ModifyVaultLogin/index.md#request): The new license type. Used only with `update_other_fields`.
