<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/AccountSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings07AccountB0V"
  },
  "title" : "AccountSettings"
}
-->

# AccountSettings

An object that configures whether a user can modify their device’s account settings.

```
struct AccountSettings
```

## Topics

### Constraining accounts

[`var lockAccounts: Bool?`](/documentation/ManagedSettings/AccountSettings/lockAccounts-swift.property)

A Boolean value that indicates whether to prevent the user from changing their account information.

[`static let lockAccounts: SettingMetadata<Bool>`](/documentation/ManagedSettings/AccountSettings/lockAccounts-swift.type.property)

A description of the setting that controls whether a user can modify their account information.

## Relationships

### Conforms To

[`ManagedSettingsGroup`](/documentation/ManagedSettings/ManagedSettingsGroup)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)