<!--
{
  "availability" : [
    "iOS: 4.0.0 - 9.0.0",
    "iPadOS: 4.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.8.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/CNMarkPortalOnline",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@CNMarkPortalOnline"
  },
  "title" : "CNMarkPortalOnline"
}
-->

# CNMarkPortalOnline

Informs Captive Network Support that the application has successfully authenticated the device to a captive network. Captive Network Support notifies the rest of the system that WiFi is a viable interface.

```
Boolean CNMarkPortalOnline(CFStringRef interfaceName);
```

## Parameters

`interfaceName`

The name of the interface that is now online.

## Return Value

`TRUE` if the operation succeeded; otherwise, `FALSE`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)