Reference

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

History