Microsoft_DomainTrustStatus class
The Microsoft_DomainTrustStatus WMI class contains information about a trusted domain.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
[dynamic, provider("TrustPrv")]
class Microsoft_DomainTrustStatus
{
string TrustedDomain;
string FlatName;
string SID;
uint32 TrustDirection;
uint32 TrustType;
uint32 TrustAttributes;
string TrustedDCName;
uint32 TrustStatus;
string TrustStatusString;
boolean TrustIsOK = FALSE;
};
Members
The Microsoft_DomainTrustStatus class has these types of members:
Properties
The Microsoft_DomainTrustStatus class has these properties.
-
FlatName
-
-
Data type: string
-
Access type: Read-only
Domain name used with systems not connecting using Active Directory.
-
-
SID
-
-
Data type: string
-
Access type: Read-only
Security identifier for the domain.
-
-
TrustAttributes
-
-
Data type: uint32
-
Access type: Read-only
Attributes can be a combination of the values listed in the following list.
-
-
0x1
-
Nontransitive
-
0x2
-
Uplevel clients only
-
0x40000
-
Tree parent
-
0x80000
-
Tree root
TrustDirection
-
Data type: uint32
-
Access type: Read-only
Direction of trust.
1
Inbound
2
Outbound
3
Bidirectional
TrustedDCName
-
Data type: string
-
Access type: Read-only
Name of the trusted domain's domain controller.
TrustedDomain
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key
Domain name.
TrustIsOK
-
Data type: boolean
-
Access type: Read-only
Reserved.
TrustStatus
-
Data type: uint32
-
Access type: Read-only
Error code of trust failure. A value of 0 (zero) indicates no failure.
TrustStatusString
-
Data type: string
-
Access type: Read-only
Description of trust status.
TrustType
-
Data type: uint32
-
Access type: Read-only
Type of trust.
1
Downlevel
2
Uplevel
3
Kerberos realm
4
DCE
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\microsoftactivedirectory |
MOF |
|
DLL |
|