---
title: "nw_parameters_get_attribution(_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_parameters_get_attribution(_:)"
---

# nw_parameters_get_attribution(_:)

Gets a flag that indicates whether the network request originates from the developer or the user.

## Declaration

```swift
func nw_parameters_get_attribution(_ parameters: nw_parameters_t) -> nw_parameters_attribution_t
```

## Parameters

- `parameters`: The network parameters to read from.

## Return Value

Return Value An indication of whether the network request comes from the developer or from the user.

## See Also

### Traffic Attribution

- [Inspecting app activity data](network/inspecting-app-activity-data.md)
- [Indicating the source of network activity](network/indicating-the-source-of-network-activity.md)
- [nw_parameters_set_attribution(_:_:)](network/nw_parameters_set_attribution(_:_:).md)
- [nw_parameters_attribution_t](network/nw_parameters_attribution_t.md)
