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

# LsaLookupNames(3w)

## NAME

**LsaLookupNames** (ADVAPI32.@)

## SYNOPSIS

NTSTATUS LsaLookupNames\
  (\
   IN LSA\_HANDLE                    *PolicyHandle*,\
   IN ULONG                         *Count*,\
   IN PLSA\_UNICODE\_STRING           *Names*,\
   OUT PLSA\_REFERENCED\_DOMAIN\_LIST\* *ReferencedDomains*,\
   OUT PLSA\_TRANSLATED\_SID\*         *Sids*\
  )

## DESCRIPTION

Returns the SIDs of an array of user, group, or local group names.

## PARAMS

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

*Count* **\[In\]**  Number of names in *Names*.

*Names* **\[In\]**  Array of names to lookup.

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

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

## 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"**.
