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=8.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=8.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=8.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, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetSidFilteringStatus
public boolean GetSidFilteringStatus(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetCurrentForest
public static Forest GetCurrentForest() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetForest
public static Forest GetForest(DirectoryContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, IndexOutOfRangeException, FormatException, CryptographicException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
GetTrustRelationship
public ForestTrustRelationshipInformation GetTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, FormatException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, FormatException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName, LocatorOptions flag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, FormatException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindGlobalCatalog
public GlobalCatalog FindGlobalCatalog(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException, FormatException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, AccessViolationException
-
FindAllDiscoverableGlobalCatalogs
public GlobalCatalogCollection FindAllDiscoverableGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, AccessViolationException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
FindAllGlobalCatalogs
public GlobalCatalogCollection FindAllGlobalCatalogs(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityException
-
GetAllTrustRelationships
public TrustRelationshipInformationCollection GetAllTrustRelationships() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
CreateLocalSideOfTrustRelationship
public void CreateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection direction, java.lang.String trustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
CreateTrustRelationship
public void CreateTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, OverflowException, ActiveDirectoryObjectNotFoundException, ActiveDirectoryObjectExistsException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionActiveDirectoryObjectExistsException
-
DeleteLocalSideOfTrustRelationship
public void DeleteLocalSideOfTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
DeleteTrustRelationship
public void DeleteTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
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, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, OverflowException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionOverflowExceptionSynchronizationLockException
-
RaiseForestFunctionalityLevel
public void RaiseForestFunctionalityLevel(int forestMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, FormatException, OverflowException, LockRecursionException, SynchronizationLockException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionLockRecursionExceptionSynchronizationLockException
-
RepairTrustRelationship
public void RepairTrustRelationship(Forest targetForest) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, SecurityException, ActiveDirectoryOperationException, FormatException, OverflowException, ActiveDirectoryObjectNotFoundException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowExceptionActiveDirectoryObjectNotFoundExceptionAccessViolationException
-
SetSelectiveAuthenticationStatus
public void SetSelectiveAuthenticationStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
SetSidFilteringStatus
public void SetSidFilteringStatus(java.lang.String targetForestName, boolean enable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, TrustDirection newTrustDirection, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
UpdateLocalSideOfTrustRelationship
public void UpdateLocalSideOfTrustRelationship(java.lang.String targetForestName, java.lang.String newTrustPassword) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
UpdateTrustRelationship
public void UpdateTrustRelationship(Forest targetForest, TrustDirection newTrustDirection) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
VerifyOutboundTrustRelationship
public void VerifyOutboundTrustRelationship(java.lang.String targetForestName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, FormatException, NullReferenceException, OverflowException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundException
-
VerifyTrustRelationship
public void VerifyTrustRelationship(Forest targetForest, TrustDirection direction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, OutOfMemoryException, AccessViolationException, SecurityException, ActiveDirectoryOperationException, NullReferenceException, OverflowException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionAccessViolationExceptionSecurityExceptionActiveDirectoryOperationExceptionNullReferenceExceptionOverflowExceptionActiveDirectoryObjectNotFoundException
-
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, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException, FormatException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionSecurityExceptionFormatExceptionOverflowException
-
getSchema
public ActiveDirectorySchema getSchema() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentException
-
getApplicationPartitions
public ApplicationPartitionCollection getApplicationPartitions() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getRootDomain
public Domain getRootDomain() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getDomains
public DomainCollection getDomains() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getNamingRoleOwner
public DomainController getNamingRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getSchemaRoleOwner
public DomainController getSchemaRoleOwner() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionActiveDirectoryOperationExceptionActiveDirectoryObjectNotFoundExceptionInvalidEnumArgumentExceptionSecurityException
-
getForestMode
public ForestMode getForestMode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException, FormatException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationExceptionFormatExceptionOverflowException
-
getGlobalCatalogs
public GlobalCatalogCollection getGlobalCatalogs() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, ActiveDirectoryOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionActiveDirectoryOperationException
-
getSites
public ReadOnlySiteCollection getSites() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, CryptographicException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, ActiveDirectoryObjectNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-