# ExternalSharedLinkAccessType

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

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

External Shared Link Access Type enumeration.

- **Full name:** `MFiles.ExternalSharedLinkAccessType`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-EXTERNAL_SHARED_LINK_ACCESS_TYPE_UNINITIALIZED"></a>`EXTERNAL_SHARED_LINK_ACCESS_TYPE_UNINITIALIZED` | 0 | Uninitialized. |
| <a id="v-EXTERNAL_SHARED_LINK_ACCESS_TYPE_DOWNLOAD"></a>`EXTERNAL_SHARED_LINK_ACCESS_TYPE_DOWNLOAD` | 1 | User can download the document when this is specified. |
| <a id="v-EXTERNAL_SHARED_LINK_ACCESS_TYPE_PREVIEW"></a>`EXTERNAL_SHARED_LINK_ACCESS_TYPE_PREVIEW` | 2 | User can preview the document when this is specified. |
| <a id="v-EXTERNAL_SHARED_LINK_ACCESS_TYPE_EDIT"></a>`EXTERNAL_SHARED_LINK_ACCESS_TYPE_EDIT` | 3 | User can edit the document when this is specified. |

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

## Used by methods

- [IRPCSharedLinks.AddSharedLinkRecipients](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/AddSharedLinkRecipients/index.md): Adds visitors (email recipients) to an external or visitor link and returns all its recipients.

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

## Used in fields

- [`ExternalLinkEventData.external_shared_link_access_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExternalLinkEventData/index.md#f-external_shared_link_access_type): Link-level access rights.
- [`SharedLinkInfo.external_shared_link_access_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SharedLinkInfo/index.md#f-external_shared_link_access_type): Access type of the external shared link.
- [`SharedLinkRecipient.external_shared_link_access_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SharedLinkRecipient/index.md#f-external_shared_link_access_type): The access type of the recipient.
- [`AddSharedLinkRecipientsRequest.external_shared_link_access_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/AddSharedLinkRecipients/index.md#request): What the added recipients may do with the file.
