struttura LSA_FOREST_TRUST_RECORD (ntsecapi.h)

La struttura LSA_FOREST_TRUST_RECORD rappresenta un record di trust tra foreste autorità di sicurezza locale .

Sintassi

typedef struct _LSA_FOREST_TRUST_RECORD {
  ULONG                        Flags;
  LSA_FOREST_TRUST_RECORD_TYPE ForestTrustType;
  LARGE_INTEGER                Time;
#if ...
  union {
    LSA_UNICODE_STRING           TopLevelName;
    LSA_FOREST_TRUST_DOMAIN_INFO DomainInfo;
    LSA_FOREST_TRUST_BINARY_DATA Data;
  } ForestTrustData;
#else
  union {
    LSA_UNICODE_STRING           TopLevelName;
    LSA_FOREST_TRUST_DOMAIN_INFO DomainInfo;
    LSA_FOREST_TRUST_BINARY_DATA Data;
  } ForestTrustData;
#endif
} LSA_FOREST_TRUST_RECORD, *PLSA_FOREST_TRUST_RECORD;

Members

Flags

Flag che controllano il comportamento dell'operazione.

ForestTrustType

LSA_FOREST_TRUST_RECORD_TYPE'enumerazione che indica il tipo del record. Nella tabella seguente sono illustrati i possibili valori.

Valore Significato
ForestTrustTopLevelName
Il record contiene un nome di primo livello incluso.
ForestTrustTopLevelNameEx
Il record contiene un nome di primo livello escluso.
ForestTrustDomainInfo
Il record contiene una struttura LSA_FOREST_TRUST_DOMAIN_INFO .
ForestTrustRecordTypeLast
Contrassegna la fine di un'enumerazione.

Time

Timestamp del record.

ForestTrustData

ForestTrustData.TopLevelName

Nome di primo livello. Questo membro viene utilizzato solo se il membro ForestTrustType è ForestTrustTopLevelName o ForestTrustTopLevelNameEx.

ForestTrustData.DomainInfo

Informazioni sul dominio. Questo membro viene usato solo se il membro ForestTrustType è ForestTrustDomainInfo.

ForestTrustData.Data

Dati binari. Questo membro viene usato per le voci non riconosciute dopo ForestTrustRecordTypeLast.

Requisiti

Requisito Valore
Client minimo supportato Nessuno supportato
Server minimo supportato Windows Server 2003 [solo app desktop]
Intestazione ntsecapi.h