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

# RtlSubAuthorityCountSid(3w)

## NAME

**RtlSubAuthorityCountSid** (NTDLL.@)

## SYNOPSIS

LPBYTE RtlSubAuthorityCountSid\
  (\
   PSID *pSid*\
  )

## DESCRIPTION

Get the number of Sub Authorities in a **SID**.

## PARAMS

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

## RETURNS

A pointer to the Sub Authority count of *pSid*.

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
