<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/ES_EVENT_TYPE_NOTIFY_PTY_GRANT",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@EA@es_event_type_t@ES_EVENT_TYPE_NOTIFY_PTY_GRANT"
  },
  "title" : "ES_EVENT_TYPE_NOTIFY_PTY_GRANT"
}
-->

# ES_EVENT_TYPE_NOTIFY_PTY_GRANT

An identifier for a process that notifies endpoint security that it is granting a pseudoterminal device to a user.

```
var ES_EVENT_TYPE_NOTIFY_PTY_GRANT: es_event_type_t { get }
```

## Discussion

This identifier corresponds to the [`es_events_t`](/documentation/EndpointSecurity/es_events_t) union member [`pty_grant`](/documentation/EndpointSecurity/es_events_t/pty_grant), which has the type [`es_event_pty_grant_t`](/documentation/EndpointSecurity/es_event_pty_grant_t).

---

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)