<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_result_t/result",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@SA@es_result_t@FI@result"
  },
  "title" : "result"
}
-->

# result

The message’s result, as either an authorization result or flags.

```
var result: es_result_t.__Unnamed_union_result
```

## Discussion

This type is a `union` of an [`es_auth_result_t`](/documentation/EndpointSecurity/es_auth_result_t) named `auth` and a <doc://com.apple.documentation/documentation/kernel/uint32_t> named `flags`. Use the [`result_type`](/documentation/EndpointSecurity/es_result_t/result_type) field to determine which type this result represents.

---

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)