public class DirectoryEntry extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.DirectoryEntry
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.DirectoryServices
|
static java.lang.String |
className
Qualified class name: System.DirectoryServices.DirectoryEntry
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DirectoryEntry() |
DirectoryEntry(NetObject adsObject) |
DirectoryEntry(java.lang.Object instance)
Internal constructor.
|
DirectoryEntry(java.lang.String path) |
DirectoryEntry(java.lang.String path,
java.lang.String username,
java.lang.String password) |
DirectoryEntry(java.lang.String path,
java.lang.String username,
java.lang.String password,
AuthenticationTypes authenticationType) |
| Modifier and Type | Method and Description |
|---|---|
static DirectoryEntry |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DirectoryEntry, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
CommitChanges() |
DirectoryEntry |
CopyTo(DirectoryEntry newParent) |
DirectoryEntry |
CopyTo(DirectoryEntry newParent,
java.lang.String newName) |
void |
DeleteTree() |
static boolean |
Exists(java.lang.String path) |
AuthenticationTypes |
getAuthenticationType() |
DirectoryEntries |
getChildren() |
Guid |
getGuid() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
java.lang.String |
getNativeGuid() |
NetObject |
getNativeObject() |
ActiveDirectorySecurity |
getObjectSecurity() |
DirectoryEntryConfiguration |
getOptions() |
DirectoryEntry |
getParent() |
java.lang.String |
getPath() |
PropertyCollection |
getProperties() |
java.lang.String |
getSchemaClassName() |
DirectoryEntry |
getSchemaEntry() |
boolean |
getUsePropertyCache() |
java.lang.String |
getUsername() |
NetObject |
Invoke(java.lang.String methodName,
NetObject... args) |
NetObject |
InvokeGet(java.lang.String propertyName) |
void |
InvokeSet(java.lang.String propertyName,
NetObject... args) |
void |
MoveTo(DirectoryEntry newParent) |
void |
MoveTo(DirectoryEntry newParent,
java.lang.String newName) |
void |
RefreshCache() |
void |
RefreshCache(JCORefOut dupParam0) |
void |
RefreshCache(java.lang.String[] propertyNames) |
void |
Rename(java.lang.String newName) |
void |
setAuthenticationType(AuthenticationTypes AuthenticationType) |
void |
setJCOInstance(JCObject instance) |
void |
setObjectSecurity(ActiveDirectorySecurity ObjectSecurity) |
void |
setPassword(java.lang.String Password) |
void |
setPath(java.lang.String Path) |
void |
setUsePropertyCache(boolean UsePropertyCache) |
void |
setUsername(java.lang.String Username) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DirectoryEntry()
throws java.lang.Throwable
java.lang.Throwablepublic DirectoryEntry(NetObject adsObject) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OutOfMemoryException, CryptographicException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionIndexOutOfRangeExceptionpublic DirectoryEntry(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DirectoryEntry(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException,
OutOfMemoryException,
MissingManifestResourceException
public DirectoryEntry(java.lang.String path,
java.lang.String username,
java.lang.String password)
throws java.lang.Throwable,
ArgumentNullException,
CultureNotFoundException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
CryptographicException
public DirectoryEntry(java.lang.String path,
java.lang.String username,
java.lang.String password,
AuthenticationTypes authenticationType)
throws java.lang.Throwable,
ArgumentNullException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
OutOfMemoryException,
MissingManifestResourceException,
CryptographicException
public static DirectoryEntry cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DirectoryEntry, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDirectoryEntry instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void CommitChanges()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
AbandonedMutexException,
CultureNotFoundException,
FormatException
public DirectoryEntry CopyTo(DirectoryEntry newParent) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, FormatException
public DirectoryEntry CopyTo(DirectoryEntry newParent, java.lang.String newName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException
public void DeleteTree()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
CultureNotFoundException,
InvalidOperationException,
FormatException,
OutOfMemoryException
public static boolean Exists(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
OutOfMemoryException,
MissingManifestResourceException,
ObjectDisposedException,
CryptographicException,
FormatException
public AuthenticationTypes getAuthenticationType() throws java.lang.Throwable
java.lang.Throwablepublic DirectoryEntries getChildren() throws java.lang.Throwable
java.lang.Throwablepublic Guid getGuid() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, MissingManifestResourceException, OverflowException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
InvalidOperationException,
FormatException,
CryptographicException
public java.lang.String getNativeGuid()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
AbandonedMutexException,
CultureNotFoundException,
InvalidOperationException,
FormatException
public NetObject getNativeObject() throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException, FormatException, CryptographicException
public ActiveDirectorySecurity getObjectSecurity() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException, SystemException, OverflowException
public DirectoryEntryConfiguration getOptions() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException
public DirectoryEntry getParent() throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException, FormatException, CryptographicException
public java.lang.String getPath()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyCollection getProperties() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionpublic java.lang.String getSchemaClassName()
throws java.lang.Throwable,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
InvalidOperationException,
FormatException,
CryptographicException
public DirectoryEntry getSchemaEntry() throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException, FormatException, CryptographicException
public boolean getUsePropertyCache()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getUsername()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
FormatException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic NetObject Invoke(java.lang.String methodName, NetObject... args) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException, TargetInvocationException
public NetObject InvokeGet(java.lang.String propertyName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException, TargetInvocationException
public void InvokeSet(java.lang.String propertyName,
NetObject... args)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
CultureNotFoundException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
TargetInvocationException
public void MoveTo(DirectoryEntry newParent) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, FormatException, NotSupportedException, OutOfMemoryException
public void MoveTo(DirectoryEntry newParent, java.lang.String newName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, CultureNotFoundException, InvalidOperationException, FormatException, OutOfMemoryException, NotSupportedException
public void RefreshCache()
throws java.lang.Throwable,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
InvalidOperationException,
FormatException,
CryptographicException
public void RefreshCache(JCORefOut dupParam0) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException, FormatException, CryptographicException
public void RefreshCache(java.lang.String[] propertyNames)
throws java.lang.Throwable,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
InvalidOperationException,
FormatException,
CryptographicException
public void Rename(java.lang.String newName)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
AbandonedMutexException,
MissingManifestResourceException,
CultureNotFoundException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
NotSupportedException
public void setAuthenticationType(AuthenticationTypes AuthenticationType) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setObjectSecurity(ActiveDirectorySecurity ObjectSecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public void setPassword(java.lang.String Password)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
CryptographicException,
InvalidOperationException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException
public void setPath(java.lang.String Path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
public void setUsePropertyCache(boolean UsePropertyCache)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
MissingManifestResourceException
public void setUsername(java.lang.String Username)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
CryptographicException