---
title: CFStreamErrorHTTPAuthentication.badUserName
framework: cfnetwork
role: symbol
role_heading: Case
path: cfnetwork/cfstreamerrorhttpauthentication/badusername
---

# CFStreamErrorHTTPAuthentication.badUserName

User name is in a format that is not suitable for the request. Currently, user names are decoded using kCFStringEncodingISOLatin1.

## Declaration

```swift
case badUserName
```

## See Also

### Constants

- [CFStreamErrorHTTPAuthentication.typeUnsupported](cfnetwork/cfstreamerrorhttpauthentication/typeunsupported.md)
- [CFStreamErrorHTTPAuthentication.badPassword](cfnetwork/cfstreamerrorhttpauthentication/badpassword.md)
