---
title: globalDomain
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/userdefaults/globaldomain
---

# globalDomain

The identifier for the domain that contains system-specified settings for all apps.

## Declaration

```swift
class let globalDomain: String
```

## Discussion

Discussion The system populates this domain with information that’s relevant to all apps. For example, this domain contains the current language settings for the device. You can read values from this domain, but don’t write your own settings to it.

## See Also

### Getting the domain names

- [argumentDomain](foundation/userdefaults/argumentdomain.md)
- [registrationDomain](foundation/userdefaults/registrationdomain.md)
- [volatileDomainNames](foundation/userdefaults/volatiledomainnames.md)
