# Common views administration (IRPCViewsAdmin)

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md)

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

Reads the common views and every user's private views of a vault, for administrators.

Use this interface to get views.

- **gRPC service:** `MFiles.IRPCViewsAdmin`
- **Book and level:** [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md), specialized
- **Methods:** 1
- **Proto file:** [`mfiles/IRPCViewsAdmin.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCViewsAdmin.proto)

<a id="overview"></a>

## Overview

The service has one method,
[GetViewsAndUsersAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViewsAdmin/GetViewsAndUsersAdmin/index.md). M-Files Admin uses
it when it exports the structure of a vault, to list the views it can include. To read and
manage the caller's own views and the common views, use [IRPCViews](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViews/index.md).

<a id="methods"></a>

## Methods

| Method | Summary | Facts |
|---|---|---|
| [GetViewsAndUsersAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViewsAdmin/GetViewsAndUsersAdmin/index.md) | Gets all common views and the private views of all users, with the owner of each private view. | `admin` `session` `idempotent` |
