---
title: UserNameAndPasswordCredential
framework: Device Management
role: symbol
role_heading: Object
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 13.0+, tvOS 16.0+, visionOS 1.1+, watchOS 10.0+]
path: devicemanagement/usernameandpasswordcredential
---

# UserNameAndPasswordCredential

Data that describes a credential that represents a user name and password.

## Declaration

```data
object UserNameAndPasswordCredential
```

## Properties

Password: The password for this credential. UserName: The user name for this credential.

## See Also

### Credentials

- [ACMECredential](devicemanagement/acmecredential.md)
- [IdentityCredential](devicemanagement/identitycredential.md)
- [SCEPCredential](devicemanagement/scepcredential.md)
