<!--
{
  "availability" : [
    "macOS: 10.2.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecAccessGetTypeID()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecAccessGetTypeID"
  },
  "title" : "SecAccessGetTypeID()"
}
-->

# SecAccessGetTypeID()

Returns the unique identifier of the opaque type to which an access instance belongs.

```
func SecAccessGetTypeID() -> CFTypeID
```

## Return Value

A value that identifies the opaque type of a [`SecAccess`](/documentation/Security/SecAccess) instance.

## Discussion

This method returns a value that uniquely identifies the opaque type of a [`SecAccess`](/documentation/Security/SecAccess) instance. You can compare this value to the <doc://com.apple.documentation/documentation/CoreFoundation/CFTypeID> identifier obtained by calling the <doc://com.apple.documentation/documentation/CoreFoundation/CFGetTypeID(_:)> method on a specific object. These values might change from release to release or platform to platform.

---

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)