Package com.sun.jna.platform.win32
Class Netapi32Util.DomainTrust
- java.lang.Object
- 
- com.sun.jna.platform.win32.Netapi32Util.DomainTrust
 
- 
- Enclosing class:
- Netapi32Util
 
 public static class Netapi32Util.DomainTrust extends java.lang.ObjectA domain trust relationship.
- 
- 
Field SummaryFields Modifier and Type Field Description java.lang.StringDnsDomainNameDNS name of the domain.Guid.GUIDDomainGuidContains the GUID of the domain represented by this structure.java.lang.StringDomainGuidStringContains the string representation of the GUID of the domain represented by this structure.WinNT.PSIDDomainSidContains the security identifier of the domain represented by this structure.java.lang.StringDomainSidStringContains the string representation of the security identifier of the domain represented by this structure.java.lang.StringNetbiosDomainNameNetBIOS name of the domain.
 - 
Constructor SummaryConstructors Constructor Description DomainTrust()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisInbound()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.booleanisInForest()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.booleanisNativeMode()The domain represented by this structure is running in the Windows 2000 native mode.booleanisOutbound()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.booleanisPrimary()The 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 Detail- 
NetbiosDomainNamepublic java.lang.String NetbiosDomainName NetBIOS name of the domain.
 - 
DnsDomainNamepublic java.lang.String DnsDomainName DNS name of the domain.
 - 
DomainSidpublic WinNT.PSID DomainSid Contains the security identifier of the domain represented by this structure.
 - 
DomainSidStringpublic java.lang.String DomainSidString Contains the string representation of the security identifier of the domain represented by this structure.
 - 
DomainGuidpublic Guid.GUID DomainGuid Contains the GUID of the domain represented by this structure.
 - 
DomainGuidStringpublic java.lang.String DomainGuidString Contains the string representation of the GUID of the domain represented by this structure.
 
- 
 - 
Method Detail- 
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.
 
 
- 
 
-