---
title: "SCPreferencesPathGetValue(_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scpreferencespathgetvalue(_:_:)"
---

# SCPreferencesPathGetValue(_:_:)

Returns the dictionary associated with the specified path.

## Declaration

```swift
func SCPreferencesPathGetValue(_ prefs: SCPreferences, _ path: CFString) -> CFDictionary?
```

## Parameters

- `prefs`: The preferences session.
- `path`: The path.

## Return Value

Return Value The dictionary associated with the specified path, or NULL if the path does not exist.

## See Also

### Getting or Removing Information Associated with a Path

- [SCPreferencesPathGetLink(_:_:)](systemconfiguration/scpreferencespathgetlink(_:_:).md)
- [SCPreferencesPathRemoveValue(_:_:)](systemconfiguration/scpreferencespathremovevalue(_:_:).md)
