LSA_FOREST_TRUST_RECORD structure (ntsecapi.h)

The LSA_FOREST_TRUST_RECORD structure represents a Local Security Authority forest trust record.

Syntax

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

Flags that control the behavior of the operation.

ForestTrustType

LSA_FOREST_TRUST_RECORD_TYPE enumeration that indicates the type of the record. The following table shows the possible values.

Value Meaning
ForestTrustTopLevelName
Record contains an included top-level name.
ForestTrustTopLevelNameEx
Record contains an excluded top-level name.
ForestTrustDomainInfo
Record contains an LSA_FOREST_TRUST_DOMAIN_INFO structure.
ForestTrustRecordTypeLast
Marks the end of an enumeration.

Time

Time stamp of the record.

ForestTrustData

ForestTrustData.TopLevelName

Top-level name. This member is used only if the ForestTrustType member is ForestTrustTopLevelName or ForestTrustTopLevelNameEx.

ForestTrustData.DomainInfo

Domain information. This member is used only if the ForestTrustType member is ForestTrustDomainInfo.

ForestTrustData.Data

Binary data. This member is used for unrecognized entries after ForestTrustRecordTypeLast.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h