TRUSTED_DOMAIN_INFORMATION_EX structure (ntsecapi.h)
The TRUSTED_DOMAIN_INFORMATION_EX structure is used to retrieve extended information about a trusted domain. The LsaQueryTrustedDomainInfo function uses this structure when its InformationClass parameter is set to TrustedDomainInformationEx.
Syntax
typedef struct _TRUSTED_DOMAIN_INFORMATION_EX {
LSA_UNICODE_STRING Name;
LSA_UNICODE_STRING FlatName;
PSID Sid;
ULONG TrustDirection;
ULONG TrustType;
ULONG TrustAttributes;
} TRUSTED_DOMAIN_INFORMATION_EX, *PTRUSTED_DOMAIN_INFORMATION_EX;
Members
Name
An LSA_UNICODE_STRING structure that contains the name of the trusted domain. This is the DNS domain name. For non-Microsoft trusted domains, this is the identifying name of the domain.
FlatName
An LSA_UNICODE_STRING structure that contains the flat name of the trusted domain. For non-Microsoft trusted domains, this is the identifying name of the domain or it is NULL.
Sid
Pointer to the security identifier (SID) of the trusted domain. For non-Microsoft trusted domains, this member can be NULL.
TrustDirection
A value that indicates the direction of the trust. This member can be one of the following values.
TrustType
A value that indicates the type of the trust relationship. This member can be one of the following values.
TrustAttributes
A value that indicates the attributes of a trust relationship. This member can be one of the following values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntsecapi.h |