# ObjIDPair

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

ObjIDPair.

- **Full name:** `MFiles.ObjIDPair`
- **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-obj_id_managed"></a>`obj_id_managed` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 1 | The managed object ID. |
| <a id="f-obj_id_unmanaged"></a>`obj_id_unmanaged` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 2 | The unmanaged object ID. |

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

## Used by methods

- [IRPCObjectOperations.GetPromotedObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPromotedObjects/index.md): Lists promoted objects of an external repository. Requires full control of the vault; the maximum result count must be 1 to 1000.

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

## Used in fields

- [`GetPromotedObjectsResponse.obj_id_pairs`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPromotedObjects/index.md#response): Receives the managed and unmanaged object IDs of the promoted objects. Ordered by managed object ID (object type, ID).
