---
title: "network(extendedPANID:)"
framework: mattersupport
role: symbol
role_heading: Type Method
path: "mattersupport/matteradddeviceextensionrequesthandler/threadnetworkassociation/network(extendedpanid:)"
---

# network(extendedPANID:)

Obtains the Thread network extended PAN identifier.

## Declaration

```swift
static func network(extendedPANID: UInt64) -> MatterAddDeviceExtensionRequestHandler.ThreadNetworkAssociation
```

## Return Value

Return Value The Thread network extended PAN identifier.

## Discussion

Discussion The system retrieves the network parameters from retrieveCredentials(forExtendedPANID:completion:) using the provided parameter. The credentials must be present in the store or else association and pairing fails.

## See Also

### Getting network information

- [defaultSystemNetwork](mattersupport/matteradddeviceextensionrequesthandler/threadnetworkassociation/defaultsystemnetwork.md)
