# AccessMode Enumeration Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Classes/Archive/AccessMode.html
- Imported at: 2026-10-21T17:27:02.187Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Classes/Archive/AccessMode
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="accessmode"></a>

# AccessMode

```
public enum AccessMode : UInt
```

The access mode for an `Archive`.

- <a id="/s:17IDentitySDK_Swift7ArchiveC10AccessModeO6createyA2EmF"></a>

  <a id="//apple_ref/swift/Element/create"></a>

  `create`

  Indicates that a newly instantiated `Archive` should create its backing file.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  case create
  ```

- <a id="/s:17IDentitySDK_Swift7ArchiveC10AccessModeO4readyA2EmF"></a>

  <a id="//apple_ref/swift/Element/read"></a>

  `read`

  Indicates that a newly instantiated `Archive` should read from an existing backing file.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  case read
  ```

- <a id="/s:17IDentitySDK_Swift7ArchiveC10AccessModeO6updateyA2EmF"></a>

  <a id="//apple_ref/swift/Element/update"></a>

  `update`

  Indicates that a newly instantiated `Archive` should update an existing backing file.

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  case update
  ```

<a id="footer"></a>

© 2024 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2024-08-27)

Generated by [jazzy ♪♫ v0.14.2](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
