# IRPCNamedACLsAdmin.IsNamedACLUsedInAutomaticPermissions

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) > [Named access control list administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/index.md)

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

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

Tells whether a named ACL is used in the automatic permissions of any value list item or class.

- **Service:** [Named access control list administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/index.md) `MFiles.IRPCNamedACLsAdmin`
- **gRPC method:** `/MFiles.IRPCNamedACLsAdmin/IsNamedACLUsedInAutomaticPermissions`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/is-named-aclused-in-automatic-permissions`
- **Request:** [`IsNamedACLUsedInAutomaticPermissionsRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/IsNamedACLUsedInAutomaticPermissions/index.md#request)
- **Response:** [`IsNamedACLUsedInAutomaticPermissionsResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/IsNamedACLUsedInAutomaticPermissions/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 named ACL that is used in automatic permissions cannot be removed with
  [RemoveNamedACL](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/RemoveNamedACL/index.md). An unknown ID returns
  false.

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

## Request: IsNamedACLUsedInAutomaticPermissionsRequest

> 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 |
|---|---|---|
| `id` | `int32` | The ID of the named ACL, or -2147483648 to ask whether any named ACL is used. |

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

## Response: IsNamedACLUsedInAutomaticPermissionsResponse

> 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 |
|---|---|---|
| `used_in_automatic_permissions` | `bool` | True if the named ACL is used in automatic permissions. |

<a id="related"></a>

## Related methods

- [RemoveNamedACL](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNamedACLsAdmin/RemoveNamedACL/index.md): Removes a named ACL from the vault.
