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=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.DirectoryServicesstatic java.lang.StringclassNameQualified class name: System.DirectoryServices.ActiveDirectory.Foreststatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=10.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
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.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, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetSidFilteringStatus
public boolean GetSidFilteringStatus(java.lang.String targetForestName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetCurrentForest
public static Forest GetCurrentForest() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetForest
public static Forest GetForest(DirectoryContext context) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, IndexOutOfRangeException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetTrustRelationship
public ForestTrustRelationshipInformation GetTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(LocatorOptions flag) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName, LocatorOptions flag) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, AccessViolationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionAccessViolationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, InvalidOperationException, AccessViolationException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionInvalidOperationExceptionAccessViolationExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, InvalidOperationException, SecurityException, ArrayTypeMismatchException, RankException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionIndexOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionSecurityExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, InvalidOperationException, SecurityException, ArrayTypeMismatchException, RankException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionIndexOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionSecurityExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastException
-
GetAllTrustRelationships
public TrustRelationshipInformationCollection GetAllTrustRelationships() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, MissingMethodException, TargetInvocationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NotSupportedException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNotSupportedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
CreateLocalSideOfTrustRelationship
public void CreateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection direction, java.lang.String trustPassword) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, InvalidOperationException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, FormatException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
CreateTrustRelationship
public void CreateTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
DeleteLocalSideOfTrustRelationship
public void DeleteLocalSideOfTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
DeleteTrustRelationship
public void DeleteTrustRelationship(Forest targetForest) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NotSupportedException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNotSupportedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
-
RaiseForestFunctionality
public void RaiseForestFunctionality(ForestMode forestMode) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, NullReferenceException, OverflowException, RankException, InvalidCastException, SynchronizationLockException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionOverflowExceptionRankExceptionInvalidCastExceptionSynchronizationLockException
-
RaiseForestFunctionalityLevel
public void RaiseForestFunctionalityLevel(int forestMode) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, FormatException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, LockRecursionException, InvalidOperationException, SynchronizationLockException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionLockRecursionExceptionInvalidOperationExceptionSynchronizationLockException
-
RepairTrustRelationship
public void RepairTrustRelationship(Forest targetForest) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, InvalidOperationException, SecurityException, ActiveDirectoryOperationException, FormatException, OverflowException, ActiveDirectoryObjectNotFoundException, AccessViolationException, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionInvalidOperationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationExceptionNotSupportedException
-
SetSelectiveAuthenticationStatus
public void SetSelectiveAuthenticationStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
SetSidFilteringStatus
public void SetSidFilteringStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection newTrustDirection, java.lang.String newTrustPassword) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, java.lang.String newTrustPassword) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateTrustRelationship
public void UpdateTrustRelationship(Forest targetForest, TrustDirection newTrustDirection) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
VerifyOutboundTrustRelationship
public void VerifyOutboundTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
VerifyTrustRelationship
public void VerifyTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
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, PlatformNotSupportedException, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ArgumentNullException, ActiveDirectoryObjectNotFoundException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, InvalidOperationException, SecurityException, FormatException, NullReferenceException, OverflowException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionArgumentExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionArgumentNullExceptionActiveDirectoryObjectNotFoundExceptionIndexOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionSecurityExceptionFormatExceptionNullReferenceExceptionOverflowException
-
getSchema
public ActiveDirectorySchema getSchema() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, CultureNotFoundException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentException
-
getApplicationPartitions
public ApplicationPartitionCollection getApplicationPartitions() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityExceptionArrayTypeMismatchException
-
getRootDomain
public Domain getRootDomain() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
-
getDomains
public DomainCollection getDomains() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityExceptionArrayTypeMismatchException
-
getNamingRoleOwner
public DomainController getNamingRoleOwner() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getSchemaRoleOwner
public DomainController getSchemaRoleOwner() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getForestMode
public ForestMode getForestMode() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, InvalidEnumArgumentException, ArgumentNullException, ArgumentException, ActiveDirectoryObjectNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, ActiveDirectoryOperationException, NullReferenceException, NotSupportedException, FormatException, OverflowException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionArgumentNullExceptionArgumentExceptionActiveDirectoryObjectNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionNullReferenceExceptionNotSupportedExceptionFormatExceptionOverflowException
-
getGlobalCatalogs
public GlobalCatalogCollection getGlobalCatalogs() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, RankException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastException
-
getSites
public ReadOnlySiteCollection getSites() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, CryptographicException, InvalidOperationException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, ActiveDirectoryObjectNotFoundException, ArrayTypeMismatchException, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionCryptographicExceptionInvalidOperationExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionArrayTypeMismatchExceptionNotSupportedException
-
getName
public java.lang.String getName() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedException
-
-