---
title: ODContextGetTypeID()
framework: Open Directory
role: symbol
role_heading: Function
path: opendirectory/odcontextgettypeid()
---

# ODContextGetTypeID()

Returns the type ID for the Open Directory context.

## Declaration

```swift
func ODContextGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type ID for the Open Directory context.
