---
title: session_id
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_process_t/session_id
---

# session_id

The identifier of the session that contains the process group.

## Declaration

```swift
var session_id: pid_t
```

## See Also

### Inspecting Process IDs

- [ppid](endpointsecurity/es_process_t/ppid.md)
- [original_ppid](endpointsecurity/es_process_t/original_ppid.md)
- [group_id](endpointsecurity/es_process_t/group_id.md)
- [tty](endpointsecurity/es_process_t/tty.md)
