---
title: kauth_getruid
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 11.0+]
path: kernel/1547382-kauth_getruid
---

# kauth_getruid

## Declaration

```occ
uid_t kauth_getruid(void);
```
