---
title: ssid
framework: corewlan
role: symbol
role_heading: Instance Property
path: corewlan/cwnetworkprofile/ssid
---

# ssid

The service set identifier (SSID) for the network profile, encoded as a string.

## Declaration

```swift
var ssid: String? { get }
```

## Discussion

Discussion If the SSID can not be encoded as a valid UTF-8 or WinLatin1 string, this method returns nil.

## See Also

### Instance Properties

- [security](corewlan/cwnetworkprofile/security.md)
- [ssidData](corewlan/cwnetworkprofile/ssiddata.md)
