---
name: "audit_get_loginuid"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/audit_get_loginuid"
---

# audit\_get\_loginuid(9)

get the loginuid for an audit\_context

## NAME

audit\_get\_loginuid - get the loginuid for an audit\_context

## SYNOPSIS

**uid\_t audit\_get\_loginuid(struct audit\_context \*** *ctx***);**

## ARGUMENTS

*ctx*

the audit\_context

## DESCRIPTION

Returns the context's loginuid or -1 if *ctx* is NULL.

## COPYRIGHT
