---
title: ODSessionRef
framework: opendirectory
role: symbol
role_heading: Class
path: opendirectory/odsessionref
---

# ODSessionRef

An Open Directory session type.

## Declaration

```swift
class ODSessionRef
```

## Discussion

Discussion Session objects are usually created with ODSessionCreate(_:_:_:), and are typically passed to node functions.

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Classes

- [ODAttributeMap](opendirectory/odattributemap.md)
- [ODConfiguration](opendirectory/odconfiguration.md)
- [ODContext](opendirectory/odcontext.md)
- [ODMappings](opendirectory/odmappings.md)
- [ODModuleEntry](opendirectory/odmoduleentry.md)
- [ODNode](opendirectory/odnode.md)
- [ODNodeRef](opendirectory/odnoderef.md)
- [ODQuery](opendirectory/odquery.md)
- [ODQueryRef](opendirectory/odqueryref.md)
- [ODRecord](opendirectory/odrecord.md)
- [ODRecordMap](opendirectory/odrecordmap.md)
- [ODRecordRef](opendirectory/odrecordref.md)
- [ODSession](opendirectory/odsession.md)
