Class

NSWorkspaceAuthorization

The authorization granted to the app by the user.

Declaration

@interface NSWorkspaceAuthorization : NSObject

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.

Relationships

Inherits From

See Also

Performing Privileged Operations

requestAuthorizationOfType:completionHandler:

Requests authorization to perform a privileged file operation.

NSWorkspaceAuthorizationType

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