---
title: urlUserAllowed
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/characterset/urluserallowed
---

# urlUserAllowed

Returns the character set for characters allowed in a user URL subcomponent.

## Declaration

```swift
static var urlUserAllowed: CharacterSet { get }
```

## See Also

### Getting Character Sets for URL Encoding

- [urlFragmentAllowed](foundation/characterset/urlfragmentallowed.md)
- [urlHostAllowed](foundation/characterset/urlhostallowed.md)
- [urlPasswordAllowed](foundation/characterset/urlpasswordallowed.md)
- [urlPathAllowed](foundation/characterset/urlpathallowed.md)
- [urlQueryAllowed](foundation/characterset/urlqueryallowed.md)
