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

# LsaLookupSids(3w)

## NAME

**LsaLookupSids** (ADVAPI32.@)

## SYNOPSIS

NTSTATUS LsaLookupSids\
  (\
   IN LSA\_HANDLE                    *PolicyHandle*,\
   IN ULONG                         *Count*,\
   IN PSID\*                         *Sids*,\
   OUT PLSA\_REFERENCED\_DOMAIN\_LIST\* *ReferencedDomains*,\
   OUT PLSA\_TRANSLATED\_NAME\*        *Names*\
  )

## DESCRIPTION

Looks up the names that correspond to an array of SIDs.

## PARAMS

*PolicyHandle* **\[In\]**  Handle to a Policy object.

*Count* **\[In\]**  Number of SIDs in the *Sids* array.

*Sids* **\[In\]**  Array of SIDs to lookup.

*ReferencedDomains* **\[Out\]**  Array of domains where the sids were found.

*Names* **\[Out\]**  Array of names corresponding to *Sids*.

## RETURNS

**Success:** **STATUS\_SUCCESS**, **STATUS\_SOME\_NOT\_MAPPED**

**Failure:** **STATUS\_NONE\_MAPPED** or **NTSTATUS** code.

## IMPLEMENTATION

Declared in **"ntsecapi.h"**.

Implemented in **"dlls/advapi32/lsa.c"**.

Debug channel **"advapi"**.
