---
title: "Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PermissionType method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/referenceattachmentoptions/get_permissiontype/"
product: "Aspose.Email for C++"
description: "Gets the permission type for the reference attachment."
---


## get_PermissionType {#get_permissiontype}

Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit .

**Returns:** AttachmentPermissionType Aspose::Email::Mapi::

```cpp
get_PermissionType()
```

