---
title: username
framework: contacts
role: symbol
role_heading: Instance Property
path: contacts/cnsocialprofile/username
---

# username

The user name for the social profile.

## Declaration

```swift
var username: String { get }
```

## See Also

### Getting Social Profile Information

- [service](contacts/cnsocialprofile/service.md)
- [urlString](contacts/cnsocialprofile/urlstring.md)
- [userIdentifier](contacts/cnsocialprofile/useridentifier.md)
