# OBJECTCAPABILITYFLAGS

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

Object capability flags.

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

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

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-all"></a>`all` | `bool` | 1 | Specifies all flags set; Including any future flags. |
| <a id="f-can_have_history"></a>`can_have_history` | `bool` | 2 |   |
| <a id="f-can_have_relationships"></a>`can_have_relationships` | `bool` | 3 |   |
| <a id="f-can_edit_old_versions"></a>`can_edit_old_versions` | `bool` | 4 |   |
| <a id="f-can_delete"></a>`can_delete` | `bool` | 5 |   |
| <a id="f-can_destroy"></a>`can_destroy` | `bool` | 6 |   |
| <a id="f-can_undelete"></a>`can_undelete` | `bool` | 7 |   |
| <a id="f-can_rename"></a>`can_rename` | `bool` | 8 |   |
| <a id="f-can_edit_metadata"></a>`can_edit_metadata` | `bool` | 9 |   |
| <a id="f-can_edit_assignments"></a>`can_edit_assignments` | `bool` | 10 |   |
| <a id="f-can_edit_workflows"></a>`can_edit_workflows` | `bool` | 11 |   |
| <a id="f-can_edit_files"></a>`can_edit_files` | `bool` | 12 |   |
| <a id="f-can_edit_version_comments"></a>`can_edit_version_comments` | `bool` | 13 |   |
| <a id="f-can_convert_single_multi_file"></a>`can_convert_single_multi_file` | `bool` | 14 |   |
| <a id="f-can_add_and_remove_files"></a>`can_add_and_remove_files` | `bool` | 15 |   |
| <a id="f-can_change_file_type"></a>`can_change_file_type` | `bool` | 16 |   |
| <a id="f-can_change_permissions"></a>`can_change_permissions` | `bool` | 17 |   |

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

## Used in fields

- [`ObjectLevelInfo.capabilities`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectLevelInfo/index.md#f-capabilities): Bit flags that provide information on the object capabilities.
