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

# RtlLengthRequiredSid(3w)

## NAME

**RtlLengthRequiredSid** (NTDLL.@)

## SYNOPSIS

DWORD RtlLengthRequiredSid\
  (\
   DWORD *nrofsubauths*\
  )

## DESCRIPTION

Determine the amount of memory a **SID** will use.

## PARAMS

*nrofsubauths* **\[In\]**  Number of Sub Authorities in the **SID**.

## RETURNS

The size, in bytes, of a **SID** with *nrofsubauths* Sub Authorities.

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
