# PropertyDefAdmin

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Property definition (with additional information for admin use only).

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-property_def"></a>`property_def` | [`PropertyDef`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDef/index.md) | 1 | Basic data. |
| <a id="f-automatic_value"></a>`automatic_value` | [`AutomaticValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AutomaticValue/index.md) | 2 | The definitions for automatic value generation. |
| <a id="f-validation"></a>`validation` | [`Validation`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Validation/index.md) | 3 | The definitions for property value validation. |
| <a id="f-aliases"></a>`aliases` | `string` | 4 | Semicolon-separated list of semantic aliases for metadata mapping. |
| <a id="f-tags"></a>`tags` | [`NamedValueNamespaces`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NamedValueNamespaces/index.md) | 5 | Names value namespaces related to the property definition. |

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

## Used by methods

- [IRPCPropertyDefsAdmin.AddPropertyDef](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/AddPropertyDef/index.md): Creates a property definition.
- [IRPCPropertyDefsAdmin.GetPropertyDefAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/GetPropertyDefAdmin/index.md): Gets the administrative definition of one property definition.
- [IRPCPropertyDefsAdmin.GetPropertyDefsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/GetPropertyDefsAdmin/index.md): Gets the administrative definitions of all property definitions.
- [IRPCPropertyDefsAdmin.UpdatePropertyDef](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/UpdatePropertyDef/index.md): Saves a changed property definition.

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

## Used in fields

- [`PropertyDefDecl.pd_admin`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDefDecl/index.md#f-pd_admin): Property definition admin data.
- [`GetPropertyDefsAdminResponse.values`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/GetPropertyDefsAdmin/index.md#response): One [PropertyDefAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDefAdmin/index.md) per property definition.
- [`GetPropertyDefAdminResponse.ppropdefadmin`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/GetPropertyDefAdmin/index.md#response): The definition. See [PropertyDefAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDefAdmin/index.md).
- [`AddPropertyDefRequest.propdefadmin`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/AddPropertyDef/index.md#request): The new property definition. The ID (`property_def.id`) and GUID are ignored and assigned by the server.
- [`AddPropertyDefResponse.new_property_definition`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/AddPropertyDef/index.md#response): The property definition as stored, with its new ID.
- [`UpdatePropertyDefRequest.propdefadmin`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/UpdatePropertyDef/index.md#request): The complete new definition; `property_def.id` identifies it. Start from [GetPropertyDefAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/GetPropertyDefAdmin/index.md).
