---
title: pty_grant
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_events_t/pty_grant
---

# pty_grant

Properties of the event that indicates the granting of a pseudoterminal device to a user.

## Declaration

```swift
var pty_grant: es_event_pty_grant_t { get set }
```

## See Also

### Pseudoterminal Events

- [pty_close](endpointsecurity/es_events_t/pty_close.md)
