---
title: "getUserWith(_:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/getuserwith(_:completionhandler:)"
---

# getUserWith(_:completionHandler:)

## Declaration

```swift
func getUserWith(_ params: MTRDoorLockClusterGetUserParams, completionHandler: @escaping @Sendable (MTRDoorLockClusterGetUserResponseParams?, (any Error)?) -> Void)
```

```swift
func user(with params: MTRDoorLockClusterGetUserParams) async throws -> MTRDoorLockClusterGetUserResponseParams
```
