---
name: "RtlSubAuthoritySid"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlSubAuthoritySid"
---

# RtlSubAuthoritySid(3w)

## NAME

**RtlSubAuthoritySid** (NTDLL.@)

## SYNOPSIS

LPDWORD RtlSubAuthoritySid\
  (\
   PSID  *pSid*,\
   DWORD *nSubAuthority*\
  )

## DESCRIPTION

Return the Sub Authority of a **SID**.

## PARAMS

*pSid* **\[In\]**  **SID** to get the Sub Authority from.

*nSubAuthority* **\[In\]**  Sub Authority number.

## RETURNS

A pointer to The Sub Authority value of *pSid*.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/sec.c"**.

Debug channel **"ntdll"**.
