# NamedValueType

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

Enumeration of possible named value types.

- **Full name:** `MFiles.NamedValueType`
- **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-NAMED_VALUE_TYPE_UNINITIALIZED"></a>`NAMED_VALUE_TYPE_UNINITIALIZED` | 0 | Uninitialized value. |
| <a id="v-NAMED_VALUE_TYPE_PROPERTY_AUTOMATIC_NUMBERING"></a>`NAMED_VALUE_TYPE_PROPERTY_AUTOMATIC_NUMBERING` | 1 | The last used value of an automatic numbering propertydef. Name = <PropertyDef ID>. |
| <a id="v-NAMED_VALUE_TYPE_VAULT_SHARED_VARIABLE"></a>`NAMED_VALUE_TYPE_VAULT_SHARED_VARIABLE` | 2 | A vault specific variable saved by the script. Name = <case-insensitive text>. |
| <a id="v-NAMED_VALUE_TYPE_METADATA_CONFIGURATION_VALUE"></a>`NAMED_VALUE_TYPE_METADATA_CONFIGURATION_VALUE` | 3 | Configuration value type (user readable/admin writable. Writing requires 'change metadata structure' permission). |
| <a id="v-NAMED_VALUE_TYPE_USER_CONFIGURATION_VALUE"></a>`NAMED_VALUE_TYPE_USER_CONFIGURATION_VALUE` | 4 | User defined value type (user readable/writable). |
| <a id="v-NAMED_VALUE_TYPE_REGISTRY_VALUE"></a>`NAMED_VALUE_TYPE_REGISTRY_VALUE` | 5 | Read-only value type that is stored into registry. |
| <a id="v-NAMED_VALUE_TYPE_FOLDER_CONFIGURATION_VALUE"></a>`NAMED_VALUE_TYPE_FOLDER_CONFIGURATION_VALUE` | 6 | Configuration value type (user readable/admin writable. Writing requires 'manage common views' permission). |
| <a id="v-NAMED_VALUE_TYPE_ADMIN_CONFIGURATION_VALUE"></a>`NAMED_VALUE_TYPE_ADMIN_CONFIGURATION_VALUE` | 7 | Configuration value type (admin readable/admin writable). |
| <a id="v-NAMED_VALUE_TYPE_SYSTEM_CONFIGURATION_VALUE"></a>`NAMED_VALUE_TYPE_SYSTEM_CONFIGURATION_VALUE` | 8 | Configuration value type (admin readable/system admin writable). |
| <a id="v-NAMED_VALUE_TYPE_USER_SPECIFIC_VALUE"></a>`NAMED_VALUE_TYPE_USER_SPECIFIC_VALUE` | 9 |   |

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

## Used by methods

- [IRPCNamedValueStorage.GetNamedValues](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/GetNamedValues/index.md): Gets all named values of one storage type and namespace.
- [IRPCNamedValueStorage.RemoveNamedValues](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/RemoveNamedValues/index.md): Removes named values from one namespace by key.
- [IRPCNamedValueStorage.SetNamedValues](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/SetNamedValues/index.md): Creates or replaces the given named values in one namespace, optionally only if the current values are as expected.

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

## Used in fields

- [`GetNamedValuesRequest.storage_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/GetNamedValues/index.md#request): The storage type to read. See the table in the service overview.
- [`RemoveNamedValuesRequest.storage_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/RemoveNamedValues/index.md#request): The storage type of the values.
- [`SetNamedValuesRequest.storage_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedValueStorage/SetNamedValues/index.md#request): The storage type to write. See the table in the service overview.
