# AsyncTaskID

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

Struct for an asynchronous task ID.

- **Full name:** `MFiles.AsyncTaskID`
- **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-id"></a>`id` | `int64` | 1 | Task ID. |
| <a id="f-type"></a>`type` | `string` | 2 | Task type name. |
| <a id="f-definition"></a>`definition` | `string` | 3 | The display string of the task definition. |

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

## Used by methods

- [IRPCObjectTypesAdmin.ChangeObjectTypeItemAutomaticPermissionsForObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ChangeObjectTypeItemAutomaticPermissionsForObjects/index.md): Sets or clears the automatic permissions that an item (a value list item or an object) gives to the objects that refer to it.
- [IRPCObjectTypesAdmin.ModifyObjectType](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ModifyObjectType/index.md): Saves a changed definition of an object type or value list.
- [IRPCPropertyDefsAdmin.ModifyObjectClass](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/ModifyObjectClass/index.md): Saves a changed class and, optionally, its property associations.
- [IRPCPropertyDefsAdmin.UpdatePropertyDef](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/UpdatePropertyDef/index.md): Saves a changed property definition.
- [IRPCUsersAdmin.AddUser](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/AddUser/index.md): Adds a user account to the vault, or brings back a removed one.

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

## Used in fields

- [`ChangeObjectTypeItemAutomaticPermissionsForObjectsResponse.async_task_ids`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ChangeObjectTypeItemAutomaticPermissionsForObjects/index.md#response): Asynchronous task identifiers, if any, related to the change.
- [`ModifyObjectTypeResponse.async_task_ids`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ModifyObjectType/index.md#response): Asynchronous task identifiers, if any, related to the change.
- [`UpdatePropertyDefResponse.async_task_ids`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/UpdatePropertyDef/index.md#response): Asynchronous task identifiers, if any, related to the change.
- [`ModifyObjectClassResponse.async_task_ids`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefsAdmin/ModifyObjectClass/index.md#response): All background tasks started by the change.
- [`AddUserResponse.tasks_before_login`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/AddUser/index.md#response): Background tasks that must complete before the user can log in to the vault.
