<!--
{
  "documentType" : "article",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/scdynamicstorecopyspecific",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "SCDynamicStoreCopySpecific"
}
-->

# SCDynamicStoreCopySpecific

## Overview

The functions of the `SCDynamicStoreCopySpecific` programming interface allow an application to determine specific configuration information about the current system (for example, the computer or sharing name or the currently logged-in user). Note that these functions follow Core Foundation function-name conventions. A function that has “Create” or “Copy” in its name returns a reference you must release with the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function.

## Topics

### Group

[`func SCDynamicStoreCopyComputerName(SCDynamicStore?, UnsafeMutablePointer<CFStringEncoding>?) -> CFString?`](/documentation/SystemConfiguration/SCDynamicStoreCopyComputerName(_:_:))

Returns the current computer name.

[`func SCDynamicStoreCopyConsoleUser(SCDynamicStore?, UnsafeMutablePointer<uid_t>?, UnsafeMutablePointer<gid_t>?) -> CFString?`](/documentation/SystemConfiguration/SCDynamicStoreCopyConsoleUser(_:_:_:))

Returns information about the user currently logged into the system.

[`func SCDynamicStoreCopyLocalHostName(SCDynamicStore?) -> CFString?`](/documentation/SystemConfiguration/SCDynamicStoreCopyLocalHostName(_:))

Returns the current local host name.

[`func SCDynamicStoreCopyLocation(SCDynamicStore?) -> CFString?`](/documentation/SystemConfiguration/SCDynamicStoreCopyLocation(_:))

Returns the current location identifier.

[`func SCDynamicStoreCopyProxies(SCDynamicStore?) -> CFDictionary?`](/documentation/SystemConfiguration/SCDynamicStoreCopyProxies(_:))

Returns the key-value pairs that represent the current internet proxy settings.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)