Class Forest
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.directoryservices.activedirectory.Forest
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class Forest extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.DirectoryServices.ActiveDirectory.Forest, System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.Forest
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.DirectoryServicesstatic java.lang.StringclassNameQualified class name: System.DirectoryServices.ActiveDirectory.Foreststatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.DirectoryServices- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.DirectoryServices.ActiveDirectory.Forest- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Forest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoForest, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Forestinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetSelectiveAuthenticationStatus
public boolean GetSelectiveAuthenticationStatus(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetSidFilteringStatus
public boolean GetSidFilteringStatus(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetCurrentForest
public static Forest GetCurrentForest() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, NotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, IndexOutOfRangeException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionIndexOutOfRangeExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetForest
public static Forest GetForest(DirectoryContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetTrustRelationship
public ForestTrustRelationshipInformation GetTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName, LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, AccessViolationException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, AccessViolationException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
GetAllTrustRelationships
public TrustRelationshipInformationCollection GetAllTrustRelationships() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
CreateLocalSideOfTrustRelationship
public void CreateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection direction, java.lang.String trustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
CreateTrustRelationship
public void CreateTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
DeleteLocalSideOfTrustRelationship
public void DeleteLocalSideOfTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
DeleteTrustRelationship
public void DeleteTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, ArgumentException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentException
-
RaiseForestFunctionality
public void RaiseForestFunctionality(ForestMode forestMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSynchronizationLockException
-
RaiseForestFunctionalityLevel
public void RaiseForestFunctionalityLevel(int forestMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, LockRecursionException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionLockRecursionExceptionSynchronizationLockException
-
RepairTrustRelationship
public void RepairTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, FormatException, OverflowException, ActiveDirectoryObjectNotFoundException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationException
-
SetSelectiveAuthenticationStatus
public void SetSelectiveAuthenticationStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
SetSidFilteringStatus
public void SetSidFilteringStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection newTrustDirection, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateTrustRelationship
public void UpdateTrustRelationship(Forest targetForest, TrustDirection newTrustDirection) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
VerifyOutboundTrustRelationship
public void VerifyOutboundTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
VerifyTrustRelationship
public void VerifyTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getForestModeLevel
public int getForestModeLevel() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
getSchema
public ActiveDirectorySchema getSchema() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentException
-
getApplicationPartitions
public ApplicationPartitionCollection getApplicationPartitions() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getRootDomain
public Domain getRootDomain() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
getDomains
public DomainCollection getDomains() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getNamingRoleOwner
public DomainController getNamingRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getSchemaRoleOwner
public DomainController getSchemaRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getForestMode
public ForestMode getForestMode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getGlobalCatalogs
public GlobalCatalogCollection getGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getSites
public ReadOnlySiteCollection getSites() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, CryptographicException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionCryptographicExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
-