# ACLWithNames

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

ACL with names.

- **Full name:** `MFiles.ACLWithNames`
- **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-acl"></a>`acl` | [`AccessControlList`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AccessControlList/index.md) | 1 | Access control list. |
| <a id="f-subject_names"></a>`subject_names` | repeated [`KeyNamePair`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.KeyNamePair/index.md) | 2 | The key-name pairs that correspond the users and user groups of the ACL. Positive IDs correspond to user names while negative IDs correspond to user group names. |

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

## Used in fields

- [`DocumentInfoForNotifications.acl`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DocumentInfoForNotifications/index.md#f-acl): Document access control list.
- [`DocumentInfoForNotifications.old_acl`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DocumentInfoForNotifications/index.md#f-old_acl): Document access control list. Used with some events only.
