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_NAME structure

The LSA_TRANSLATED_NAME structure is used with the LsaLookupSids function to return information about the account identified by a SID.

Syntax


typedef struct _LSA_TRANSLATED_NAME {
  SID_NAME_USE       Use;
  LSA_UNICODE_STRING Name;
  LONG               DomainIndex;
} LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME;

Members

Use

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

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

ValueMeaning
SidTypeDomain

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

SidTypeInvalid

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

SidTypeUnknown

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

SidTypeWellKnownGroup

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

 

Name

An LSA_UNICODE_STRING structure that contains the isolated name of the translated SID. An isolated name is a user, group, or local group account name without the domain name (for example, user_name, rather than Acctg\user_name).

DomainIndex

Specifies the zero-based index of an entry in the LSA_REFERENCED_DOMAIN_LIST structure returned by the LsaLookupSids function. The 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

LsaLookup.h

See also

LsaLookupSids
LSA_REFERENCED_DOMAIN_LIST
LSA_UNICODE_STRING
SID_NAME_USE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft