# WOPIContainerTokenInfo

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

Struct for WOPI file information.

- **Full name:** `MFiles.WOPIContainerTokenInfo`
- **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-container_access_token"></a>`container_access_token` | `string` | 1 | The container access token. |
| <a id="f-user_id"></a>`user_id` | `string` | 2 | The user id. |
| <a id="f-user_name"></a>`user_name` | `string` | 3 | The user name. |
| <a id="f-email_id"></a>`email_id` | `string` | 4 | The user's email id. |
| <a id="f-expiration_time"></a>`expiration_time` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | 5 | The container access token expiration time in UTC. |

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

## Used by methods

- [IRPCWOPIOperations.CreateContainerAccessToken](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperations/CreateContainerAccessToken/index.md): Creates, or returns the existing, container access token with which the Office mobile apps browse a vault location through the M-Files WOPI service.

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

## Used in fields

- [`CreateContainerAccessTokenResponse.wopi_container_token_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperations/CreateContainerAccessToken/index.md#response): The token, the session's user ID, user name and email address, and the expiration time (UTC).
