---
title: "CSIdentitySetPassword(_:_:)"
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.5+]
path: coreservices/1443568-csidentitysetpassword
---

# CSIdentitySetPassword(_:_:)

## Declaration

```swift
func CSIdentitySetPassword(_ user: CSIdentity!, _ password: CFString!)
```
