Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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.
| Value | Meaning |
|---|---|
|
The trust relationship exists, but it has been disabled. |
|
The trusted domain trusts the primary domain to perform operations such as name lookups and authentication. |
|
The primary domain trusts the trusted domain to perform operations such as name lookups and authentication. |
|
Both domains trust each other. |
TrustType
A value that indicates the type of the trust relationship. This member can be one of the following values.
| Value | Meaning |
|---|---|
|
The domain controller of the trusted domain is a computer running an operating system earlier than Windows 2000. |
|
The domain controller of the Microsoft trusted domain is a computer running Windows 2000 or later. |
|
The trusted domain is an MIT Kerberos realm. |
|
The trusted domain is a DCE realm. |
|
Reserved for future use. |
|
Provider-specific trust levels. |
TrustAttributes
A value that indicates the attributes of a trust relationship. This member can be one of the following values.
| Value | Meaning |
|---|---|
|
Disallow transitivity. |
|
The trust link is not valid for client operating systems earlier than Windows 2000. |
|
Quarantine domains. |
|
The trust link may contain forest trust information. |
|
This trust is to a domain/forest that is not part of this enterprise. |
|
Trust is treated as external for trust boundary purposes. |
|
Trust is internal to this forest. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | ntsecapi.h |
See also
Feedback
Was this page helpful?
