# IRPCLogin.GetRPCOverCOMInterface

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Login and sessions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/index.md)

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

Badges: `Vault API / core` `session` `no session`

Gets RPC over COM interface for accessing M-Files Server.

- **Service:** [Login and sessions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/index.md) `MFiles.IRPCLogin`
- **gRPC method:** `/MFiles.IRPCLogin/GetRPCOverCOMInterface`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-rpcover-cominterface`
- **Request:** [`GetRPCOverCOMInterfaceRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetRPCOverCOMInterface/index.md#request)
- **Response:** [`GetRPCOverCOMInterfaceResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetRPCOverCOMInterface/index.md#response)
- **Book and level:** Vault API, core
- **Kind:** session
- **Session:** Not needed: the call can be made before logging in.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

Internal to M-Files on Windows (returns a marshalled COM interface). It is disabled by default and
then fails with `E_MFILES_ACCESS_DENIED`. Not usable by gRPC applications.

<a id="request"></a>

## Request: GetRPCOverCOMInterfaceRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `destination_context` | `uint32` | The destination context where the specified interface is to be unmarshaled. See the documentation of CoMarshalInterface. |

<a id="response"></a>

## Response: GetRPCOverCOMInterfaceResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `marshalled_interface` | `bytes` | Receives the marshalled interface. |
