Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LSA_TRANSLATED_SID structure

The LSA_TRANSLATED_SID structure is used with the LsaLookupNames function to return information about the SID that identifies an account.

Syntax


typedef struct _LSA_TRANSLATED_SID {
  SID_NAME_USE Use;
  ULONG        RelativeId;
  LONG         DomainIndex;
} LSA_TRANSLATED_SID, *PLSA_TRANSLATED_SID;

Members

Use

A value from the SID_NAME_USE enumeration type that identifies the type of SID.

If Use has one of the following values, one or both of the RelativeId or DomainIndex members of LSA_TRANSLATED_SID is not valid. These members are valid if Use has any other value.

ValueMeaning
SidTypeDomain

The DomainIndex member is valid, but the RelativeId member is not valid and must be ignored.

SidTypeInvalid

Both DomainIndex and RelativeId are not valid and must be ignored.

SidTypeUnknown

Both DomainIndex and RelativeId members are not valid and must be ignored.

 

RelativeId

Specifies the relative identifier (RID) of the account's SID. The RID identifies the account relative to the domain referenced by the DomainIndex member. The account's complete SID consists of the domain SID followed by the RID.

DomainIndex

Specifies the zero-based index of an entry in the LSA_REFERENCED_DOMAIN_LIST structure returned by the LsaLookupNames function. This entry contains the name and SID of the domain in which the account was found.

If there is no corresponding domain for an account, this member contains a negative value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

See also

LSA_REFERENCED_DOMAIN_LIST
LsaLookupNames
SID_NAME_USE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft