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