# VaultsAvailabilityOnServer

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

Vaults the user can see, split by state. Returned by a server-level
[LogIn](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogIn/index.md) only on servers that enable it; otherwise empty.

- **Full name:** `MFiles.VaultsAvailabilityOnServer`
- **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-vaults_online"></a>`vaults_online` | repeated [`VaultBasic`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultBasic/index.md) | 1 | Vaults that are online and visible to the user. |
| <a id="f-vaults_offline"></a>`vaults_offline` | repeated [`VaultBasic`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultBasic/index.md) | 2 | Vaults that are offline (for example under maintenance) and visible to the user. |
| <a id="f-ground_link_proxies_online"></a>`ground_link_proxies_online` | repeated [`VaultBasic`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultBasic/index.md) | 3 | Online Ground Link proxy vaults. |
| <a id="f-ground_link_proxies_offline"></a>`ground_link_proxies_offline` | repeated [`VaultBasic`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultBasic/index.md) | 4 | Offline Ground Link proxy vaults. |

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

## Used by methods

- [IRPCLogin.LogIn](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogIn/index.md): Authenticates the caller and opens a session to a vault, or to the server when the vault GUID is all zeros.

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

## Used in fields

- [`LogInResponse.vaults_availability`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogIn/index.md#response): Online and offline vaults the user can see, only for a server-level login and only on servers that enable this; otherwise empty.
