---
title: "init(forAllNodesWith:)"
framework: matter
role: symbol
role_heading: Initializer
path: "matter/mtraccessgrant/init(forallnodeswith:)"
---

# init(forAllNodesWith:)

## Declaration

```swift
init(forAllNodesWith privilege: MTRAccessControlEntryPrivilege)
```
