---
title: action_type
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_message_t/action_type
---

# action_type

The type of action: authentication or notification.

## Declaration

```swift
var action_type: es_action_type_t
```

## Discussion

Discussion Use this value to determine how to access the action field, which is a union of different authentication and notification types.

## See Also

### Inspecting Message Properties

- [action](endpointsecurity/es_message_t/action.md)
- [es_action_type_t](endpointsecurity/es_action_type_t.md)
- [es_event_id_t](endpointsecurity/es_event_id_t.md)
- [es_result_t](endpointsecurity/es_result_t.md)
- [version](endpointsecurity/es_message_t/version.md)
