# IRPCObjectTypesAdmin.AreAutomaticPermissionsUsed

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) > [Object type administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/index.md)

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

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Tells whether any item uses automatic permissions, in one object type or value list or in all
of them.

- **Service:** [Object type administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/index.md) `MFiles.IRPCObjectTypesAdmin`
- **gRPC method:** `/MFiles.IRPCObjectTypesAdmin/AreAutomaticPermissionsUsed`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/are-automatic-permissions-used`
- **Request:** [`AreAutomaticPermissionsUsedRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/AreAutomaticPermissionsUsed/index.md#request)
- **Response:** [`AreAutomaticPermissionsUsedResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/AreAutomaticPermissionsUsed/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

- Requires a vault session; no vault rights are needed (a normal user's call succeeded). Read-only.

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

## Request: AreAutomaticPermissionsUsedRequest

> 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 |
|---|---|---|
| `all_object_types` | `bool` | True to check every object type and value list; `object_type` is then ignored. |
| `object_type` | `int32` | The object type or value list to check when `all_object_types` is false. |

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

## Response: AreAutomaticPermissionsUsedResponse

> 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 |
|---|---|---|
| `automatic_permissions_used` | `bool` | Receives true if automatic permissions are in use. |
