Package com.sun.jna.platform.win32
Class Netapi32Util.DomainTrust
java.lang.Object
com.sun.jna.platform.win32.Netapi32Util.DomainTrust
- Enclosing class:
- Netapi32Util
A domain trust relationship.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionDNS name of the domain.Contains the GUID of the domain represented by this structure.Contains the string representation of the GUID of the domain represented by this structure.Contains the security identifier of the domain represented by this structure.Contains the string representation of the security identifier of the domain represented by this structure.NetBIOS name of the domain.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanThe domain represented by this structure directly trusts the domain that the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function is a member of.booleanThe domain represented by this structure is a member of the same forest as the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.booleanThe domain represented by this structure is running in the Windows 2000 native mode.booleanThe domain represented by this structure is directly trusted by the domain that the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function is a member of.booleanThe domain represented by this structure is the primary domain of the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.booleanisRoot()The domain represented by this structure is the root of a tree and a member of the same forest as the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.
- 
Field Details- 
NetbiosDomainNameNetBIOS name of the domain.
- 
DnsDomainNameDNS name of the domain.
- 
DomainSidContains the security identifier of the domain represented by this structure.
- 
DomainSidStringContains the string representation of the security identifier of the domain represented by this structure.
- 
DomainGuidContains the GUID of the domain represented by this structure.
- 
DomainGuidStringContains the string representation of the GUID of the domain represented by this structure.
 
- 
- 
Constructor Details- 
DomainTrustpublic DomainTrust()
 
- 
- 
Method Details- 
isInForestpublic boolean isInForest()The domain represented by this structure is a member of the same forest as the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.- Returns:
- True or false.
 
- 
isOutboundpublic boolean isOutbound()The domain represented by this structure is directly trusted by the domain that the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function is a member of.- Returns:
- True or false.
 
- 
isRootpublic boolean isRoot()The domain represented by this structure is the root of a tree and a member of the same forest as the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.- Returns:
- True or false.
 
- 
isPrimarypublic boolean isPrimary()The domain represented by this structure is the primary domain of the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function.- Returns:
- True or false.
 
- 
isNativeModepublic boolean isNativeMode()The domain represented by this structure is running in the Windows 2000 native mode.- Returns:
- True or false.
 
- 
isInboundpublic boolean isInbound()The domain represented by this structure directly trusts the domain that the server specified in the ServerName parameter of the DsEnumerateDomainTrusts function is a member of.- Returns:
- True or false.
 
 
-