---
title: "SCPreferencesPathSetLink(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scpreferencespathsetlink(_:_:_:)"
---

# SCPreferencesPathSetLink(_:_:_:)

Associates a link to a second dictionary at the specified path.

## Declaration

```swift
func SCPreferencesPathSetLink(_ prefs: SCPreferences, _ path: CFString, _ link: CFString) -> Bool
```

## Parameters

- `prefs`: The preferences session.
- `path`: The path.
- `link`: The link to be stored at the path.

## Return Value

Return Value TRUE if successful; otherwise, FALSE.

## See Also

### Associating Information with a Path

- [SCPreferencesPathSetValue(_:_:_:)](systemconfiguration/scpreferencespathsetvalue(_:_:_:).md)
