---
title: kCFProxyUsernameKey
framework: cfnetwork
role: symbol
role_heading: Global Variable
path: cfnetwork/kcfproxyusernamekey
---

# kCFProxyUsernameKey

## Declaration

```swift
let kCFProxyUsernameKey: CFString
```

## Discussion

Discussion The username to be used when contacting the proxy. This key is only present if the username can be determined from the information passed in. (External credential stores such as the keychain are not consulted.)

## See Also

### Constants

- [kCFProxyAutoConfigurationHTTPResponseKey](cfnetwork/kcfproxyautoconfigurationhttpresponsekey.md)
- [kCFProxyAutoConfigurationJavaScriptKey](cfnetwork/kcfproxyautoconfigurationjavascriptkey.md)
- [kCFProxyAutoConfigurationURLKey](cfnetwork/kcfproxyautoconfigurationurlkey.md)
- [kCFProxyHostNameKey](cfnetwork/kcfproxyhostnamekey.md)
- [kCFProxyPasswordKey](cfnetwork/kcfproxypasswordkey.md)
- [kCFProxyPortNumberKey](cfnetwork/kcfproxyportnumberkey.md)
- [kCFProxyTypeKey](cfnetwork/kcfproxytypekey.md)
