---
title: NSWorkspace.AuthorizationType
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsworkspace/authorizationtype
---

# NSWorkspace.AuthorizationType

The types of privileged file operations that can be authorized by the user.

## Declaration

```swift
enum AuthorizationType
```

## Overview

Overview To enable your app to prompt the user for these file permissions, you must have a Privileged File Operation entitlement. If you have an app on the Mac App Store or plan to submit your app for review, you can request this entitlement.

## Topics

### Types of Authorization

- [NSWorkspace.AuthorizationType.createSymbolicLink](appkit/nsworkspace/authorizationtype/createsymboliclink.md)
- [NSWorkspace.AuthorizationType.replaceFile](appkit/nsworkspace/authorizationtype/replacefile.md)
- [NSWorkspace.AuthorizationType.setAttributes](appkit/nsworkspace/authorizationtype/setattributes.md)

### Initializers

- [init(rawValue:)](appkit/nsworkspace/authorizationtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Performing Privileged Operations

- [requestAuthorization(to:completionHandler:)](appkit/nsworkspace/requestauthorization(to:completionhandler:).md)
- [NSWorkspace.Authorization](appkit/nsworkspace/authorization.md)
