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

# kauth_cred_getruid

## Declaration

```occ
uid_t kauth_cred_getruid(kauth_cred_t _cred);
```
