---
title: user
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/aspasswordcredentialidentity/user
---

# user

The username associated with the credential.

## Declaration

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