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.String
assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.DirectoryServicesstatic java.lang.String
className
Qualified class name: System.DirectoryServices.ActiveDirectory.Foreststatic JCType
classType
The 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Forest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoForest
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Forest
instance- 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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
CryptographicException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.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
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
OutOfMemoryException
FormatException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
OutOfMemoryException
FormatException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
OutOfMemoryException
FormatException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
OutOfMemoryException
FormatException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ActiveDirectoryOperationException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ActiveDirectoryOperationException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
SecurityException
ActiveDirectoryOperationException
OverflowException
ActiveDirectoryObjectNotFoundException
ActiveDirectoryObjectExistsException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
SecurityException
ActiveDirectoryOperationException
OverflowException
ActiveDirectoryObjectNotFoundException
ActiveDirectoryObjectExistsException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, ArgumentException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
OverflowException
SynchronizationLockException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
ActiveDirectoryOperationException
FormatException
OverflowException
LockRecursionException
SynchronizationLockException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
SecurityException
ActiveDirectoryOperationException
FormatException
OverflowException
ActiveDirectoryObjectNotFoundException
AccessViolationException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
NullReferenceException
OverflowException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
NullReferenceException
OverflowException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
FormatException
NullReferenceException
OverflowException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
MissingMethodException
TargetInvocationException
OutOfMemoryException
AccessViolationException
SecurityException
ActiveDirectoryOperationException
NullReferenceException
OverflowException
ActiveDirectoryObjectNotFoundException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in 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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ActiveDirectoryOperationException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
SecurityException
FormatException
OverflowException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
FormatException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
SecurityException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
ActiveDirectoryOperationException
FormatException
OverflowException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
ActiveDirectoryOperationException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
CryptographicException
ActiveDirectoryOperationException
InvalidEnumArgumentException
FormatException
ActiveDirectoryObjectNotFoundException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-