---
title: "SCPreferencesPathSetValue(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scpreferencespathsetvalue(_:_:_:)"
---

# SCPreferencesPathSetValue(_:_:_:)

Associates the specified dictionary with the specified path.

## Declaration

```swift
func SCPreferencesPathSetValue(_ prefs: SCPreferences, _ path: CFString, _ value: CFDictionary) -> Bool
```

## Parameters

- `prefs`: The preferences session.
- `path`: The path.
- `value`: The dictionary of data to be stored at the path.

## Return Value

Return Value TRUE if successful; otherwise, FALSE.

## See Also

### Associating Information with a Path

- [SCPreferencesPathSetLink(_:_:_:)](systemconfiguration/scpreferencespathsetlink(_:_:_:).md)
