<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFFileSecurityCopyOwnerUUID(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFFileSecurityCopyOwnerUUID"
  },
  "title" : "CFFileSecurityCopyOwnerUUID(_:_:)"
}
-->

# CFFileSecurityCopyOwnerUUID(_:_:)

Copies the owner UUID associated with a `CFFileSecurityRef` object.

```
func CFFileSecurityCopyOwnerUUID(_ fileSec: CFFileSecurity!, _ ownerUUID: UnsafeMutablePointer<Unmanaged<CFUUID>?>!) -> Bool
```

## Parameters

`fileSec`

The `CFFileSecurityRef` object.

`ownerUUID`

The address of a `CFUUIDRef` where the results are stored.

## Return Value

Returns `true` if an owner UUID was successfully copied, or `false` if there is no owner UUID property associated with this `CFFileSecurityRef` object.

## Discussion

---

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)