public static class Netapi32Util.DomainTrust extends Object
Modifier and Type | Field and Description |
---|---|
String |
DnsDomainName
DNS name of the domain.
|
Guid.GUID |
DomainGuid
Contains the GUID of the domain represented by this structure.
|
String |
DomainGuidString
Contains the string representation of the GUID of the domain represented by
this structure.
|
WinNT.PSID |
DomainSid
Contains the security identifier of the domain represented by this structure.
|
String |
DomainSidString
Contains the string representation of the security identifier of the domain
represented by this structure.
|
String |
NetbiosDomainName
NetBIOS name of the domain.
|
Constructor and Description |
---|
DomainTrust() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
boolean |
isNativeMode()
The domain represented by this structure is running in the Windows 2000 native mode.
|
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.
|
boolean |
isPrimary()
The domain represented by this structure is the primary domain of the server
specified in the ServerName parameter of the DsEnumerateDomainTrusts function.
|
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.
|
public String NetbiosDomainName
public String DnsDomainName
public WinNT.PSID DomainSid
public String DomainSidString
public Guid.GUID DomainGuid
public String DomainGuidString
public boolean isInForest()
public boolean isOutbound()
public boolean isRoot()
public boolean isPrimary()
public boolean isNativeMode()
public boolean isInbound()