---
title: UserID
framework: system
role: symbol
role_heading: Structure
path: system/userid
---

# UserID

A Swift wrapper of the C uid_t type.

## Declaration

```swift
@frozen struct UserID
```

## Topics

### Initializers

- [init(_:)](system/userid/init(_:).md)
- [init(rawValue:)](system/userid/init(rawvalue:).md)

### Instance Properties

- [rawValue](system/userid/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
