---
title: allowPrivate
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicloudsharingcontroller/permissionoptions/allowprivate
---

# allowPrivate

The option that restricts access to people who have been invited.

## Declaration

```swift
static var allowPrivate: UICloudSharingController.PermissionOptions { get }
```

## Discussion

Discussion To give the user the option to limit access to people who have been invited, include the allowPrivate option when setting the availablePermissions property on the UICloudSharingController instance. note: When inviting someone, the user must provide that person’s email address or phone number. This is how the person is identified when accepting the invitation.

## See Also

### Constants

- [allowPublic](uikit/uicloudsharingcontroller/permissionoptions/allowpublic.md)
- [allowReadOnly](uikit/uicloudsharingcontroller/permissionoptions/allowreadonly.md)
- [allowReadWrite](uikit/uicloudsharingcontroller/permissionoptions/allowreadwrite.md)
