<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/ODNodeCopySupportedAttributes(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Open Directory"
    ],
    "preciseIdentifier" : "c:@F@ODNodeCopySupportedAttributes"
  },
  "title" : "ODNodeCopySupportedAttributes(_:_:_:)"
}
-->

# ODNodeCopySupportedAttributes(_:_:_:)

Returns an array of attribute types supported by a given node.

```
func ODNodeCopySupportedAttributes(_ node: ODNodeRef!, _ recordType: String!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!
```

## Parameters

`node`

The node.

`recordType`

The record type to list supported attribute types for. Can be `NULL`.

`error`

An error reference for error details. Can be `NULL`.

## Return Value

An array of supported attribute types.

## Discussion

If `inRecordType` is `NULL`, this function returns all attribute types supported by all record types of the node; otherwise, only attribute types specific to `inRecordType` are returned.

## See Also

[Record Types](/documentation/OpenDirectory/record-types)

Types of Open Directory records.



---

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)