LSA_TRANSLATED_SID2 structure (lsalookup.h)

The LSA_TRANSLATED_SID2 structure contains SIDs that are retrieved based on account names. This structure is used by the LsaLookupNames2 function.

Syntax

typedef struct _LSA_TRANSLATED_SID2 {
  SID_NAME_USE Use;
  PSID         Sid;
  LONG         DomainIndex;
  ULONG        Flags;
} LSA_TRANSLATED_SID2, *PLSA_TRANSLATED_SID2;

Members

Use

An SID_NAME_USE enumeration value that identifies the use of the SID. If this value is SidTypeUnknown or SidTypeInvalid, the rest of the information in the structure is not valid and should be ignored.

Sid

The complete SID of the account.

DomainIndex

The index of an entry in a related LSA_REFERENCED_DOMAIN_LIST data structure which describes the domain that owns the account. If there is no corresponding reference domain for an entry, then DomainIndex will contain a negative value.

Flags

Not used.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header lsalookup.h