|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Cocoa||MBS MacCocoa Plugin||19.3||Yes||Yes||Yes||Yes||No|
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 (see https://developer.apple.com/go/?id=workspace-authorization).
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
Authorization for the app to create a symbolic link.
Authorization for the app to perform an atomic file write without changing the target file's permissions.
Authorization for the app to change specific file attributes.
This class has no sub classes.
Some methods using this class:
- NSFileManagerMBS.fileManagerWithAuthorization(authorization as NSWorkspaceAuthorizationMBS) as NSFileManagerMBS
Some events for this class:
- NSWorkspaceMBS.requestAuthorizationCompleted(type as Integer, authorization as NSWorkspaceAuthorizationMBS, error as NSErrorMBS, tag as variant)
Some examples which use this class:
The items on this page are in the following plugins: MBS MacCocoa Plugin.
MBS Xojo Plugins