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.See: https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.Forest
-
-
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, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetSidFilteringStatus
public boolean GetSidFilteringStatus(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetCurrentForest
public static Forest GetCurrentForest() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetForest
public static Forest GetForest(DirectoryContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, OutOfMemoryException, FormatException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetTrustRelationship
public ForestTrustRelationshipInformation GetTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName, LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, CultureNotFoundException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionCultureNotFoundExceptionAccessViolationException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, CultureNotFoundException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionCultureNotFoundExceptionAccessViolationException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
GetAllTrustRelationships
public TrustRelationshipInformationCollection GetAllTrustRelationships() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
CreateLocalSideOfTrustRelationship
public void CreateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection direction, java.lang.String trustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
CreateTrustRelationship
public void CreateTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
DeleteLocalSideOfTrustRelationship
public void DeleteLocalSideOfTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
DeleteTrustRelationship
public void DeleteTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, ArgumentNullException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullException
-
RaiseForestFunctionality
public void RaiseForestFunctionality(ForestMode forestMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSynchronizationLockException
-
RaiseForestFunctionalityLevel
public void RaiseForestFunctionalityLevel(int forestMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, LockRecursionException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionLockRecursionExceptionSynchronizationLockException
-
RepairTrustRelationship
public void RepairTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, FormatException, OverflowException, ActiveDirectoryObjectNotFoundException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationException
-
SetSelectiveAuthenticationStatus
public void SetSelectiveAuthenticationStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
SetSidFilteringStatus
public void SetSidFilteringStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection newTrustDirection, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateTrustRelationship
public void UpdateTrustRelationship(Forest targetForest, TrustDirection newTrustDirection) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
VerifyOutboundTrustRelationship
public void VerifyOutboundTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
VerifyTrustRelationship
public void VerifyTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
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, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
getSchema
public ActiveDirectorySchema getSchema() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentException
-
getApplicationPartitions
public ApplicationPartitionCollection getApplicationPartitions() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getRootDomain
public Domain getRootDomain() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException
-
getDomains
public DomainCollection getDomains() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getNamingRoleOwner
public DomainController getNamingRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getSchemaRoleOwner
public DomainController getSchemaRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getForestMode
public ForestMode getForestMode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getGlobalCatalogs
public GlobalCatalogCollection getGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getSites
public ReadOnlySiteCollection getSites() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException
-
-