Partager via


2.2.19 LSAPR_TRANSLATED_NAME

The LSAPR_TRANSLATED_NAME structure contains information about a security principal, along with the human-readable identifier for that security principal. This structure MUST always be accompanied by an LSAPR_REFERENCED_DOMAIN_LIST structure when DomainIndex is not -1, which contains the domain information for the security principals.

 typedef struct _LSAPR_TRANSLATED_NAME {
   SID_NAME_USE Use;
   RPC_UNICODE_STRING Name;
   long DomainIndex;
 } LSAPR_TRANSLATED_NAME,
  *PLSAPR_TRANSLATED_NAME;

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

Name: Contains the name of the security principal, with syntaxes described in section 3.1.4.5. The RPC_UNICODE_STRING structure is defined in [MS-DTYP] section 2.3.10.

DomainIndex: Contains the index into the corresponding 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 used.