# Javascript: TXTextControl.DocumentAccessPermissions Enumeration

> Specifies how a document can be accessed after it has been opened.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.DocumentAccessPermissions Enumeration
- **463 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentaccesspermissions-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentaccesspermissions-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentaccesspermissions-enumeration/llms-full.txt

---

### Description

Specifies how a document can be accessed after it has been opened.

### Members

| Member | Description |
|---|---|
| None | Allows none of the possible permissions. |
| AllowAuthoring | Allows authoring comments and fill in interactive form fields (including signature fields). |
| AllowAuthoringFields | Fill-in existing interactive form fields (including signature fields) is allowed. |
| AllowContentAccessibility | Allows content access for the visually impaired only. |
| AllowDocumentAssembly | Allows to assemble the document (insert, rotate or delete pages and create bookmarks or thumbnails). |
| AllowExtractContents | Copying or otherwise extracting text and/or graphics is allowed. |
| AllowGeneralEditing | Allows modifying the document's contents. |
| AllowHighLevelPrinting | Printing the document is fully allowed. |
| AllowLowLevelPrinting | Printing the document is allowed (low-level). |
| AllowAll | Allows all of the possible permissions. |

### Examples

The following example uses `TXTextControl.DocumentAccessPermissions.AllowAuthoring` (allows authoring comments and fill in interactive form fields (including signature fields).) in a document-editing workflow.

```javascript
const value = TXTextControl.DocumentAccessPermissions.AllowAuthoring;
console.log("Allows authoring comments and fill in interactive form fields (including signature fields).", value);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.displayColors Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/displaycolors-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.documentPermissions Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentpermissions-property/llms-full.txt)
