---
title: HMAccessControl
framework: homekit
role: symbol
role_heading: Class
path: homekit/hmaccesscontrol
---

# HMAccessControl

An abstract superclass for accessing user privileges.

## Declaration

```swift
class HMAccessControl
```

## Overview

Overview Use a concrete subclass, like HMHomeAccessControl, instead.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [HMHomeAccessControl](homekit/hmhomeaccesscontrol.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Controlling user access

- [homeAccessControl(for:)](homekit/hmhome/homeaccesscontrol(for:).md)
- [HMHomeAccessControl](homekit/hmhomeaccesscontrol.md)
- [HMUserFailedAccessoriesKey](homekit/hmuserfailedaccessorieskey.md)
