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

# kauth_cred_getgid

## Declaration

```occ
gid_t kauth_cred_getgid(kauth_cred_t _cred);
```
