---
title: userName
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asimportablecredential/apikey/username
---

# userName

When instantiating from JSON, this property will be populated from the “username” field.

## Declaration

```swift
var userName: ASImportableEditableField?
```
