2.2.14 LSA_TRANSLATED_SID

The LSA_TRANSLATED_SID structure contains information about a security principal after translation from a name to a SID. This structure MUST always be accompanied by an LSAPR_REFERENCED_DOMAIN_LIST structure when DomainIndex is not -1.

 typedef struct _LSA_TRANSLATED_SID {
   SID_NAME_USE Use;
   unsigned long RelativeId;
   long DomainIndex;
 } LSA_TRANSLATED_SID,
  *PLSA_TRANSLATED_SID;

Use: Defines the type of the security principal, as specified in section 2.2.13.

RelativeId: Contains the relative identifier (RID) of the security principal with respect to its domain.

DomainIndex: Contains the index into an LSAPR_REFERENCED_DOMAIN_LIST structure that specifies the domain that the security principal is in. A DomainIndex value of -1 MUST be used to specify that there are no corresponding domains. Other negative values MUST NOT be returned.