public class ActiveDirectorySecurity extends DirectoryObjectSecurity
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectorySecurity
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=9.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.ActiveDirectorySecurity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ActiveDirectorySecurity() |
ActiveDirectorySecurity(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessRule |
AccessRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type) |
AccessRule |
AccessRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type,
Guid objectGuid,
Guid inheritedObjectGuid) |
void |
AddAccessRule(ActiveDirectoryAccessRule rule) |
void |
AddAuditRule(ActiveDirectoryAuditRule rule) |
AuditRule |
AuditRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AuditFlags flags) |
AuditRule |
AuditRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AuditFlags flags,
Guid objectGuid,
Guid inheritedObjectGuid) |
static ActiveDirectorySecurity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ActiveDirectorySecurity, a cast assert is made to check if types are compatible. |
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
|
boolean |
ModifyAccessRule(AccessControlModification modification,
AccessRule rule,
JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) |
boolean |
ModifyAuditRule(AccessControlModification modification,
AuditRule rule,
JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) |
void |
PurgeAccessRules(IdentityReference identity) |
void |
PurgeAuditRules(IdentityReference identity) |
void |
RemoveAccess(IdentityReference identity,
AccessControlType type) |
boolean |
RemoveAccessRule(ActiveDirectoryAccessRule rule) |
void |
RemoveAccessRuleSpecific(ActiveDirectoryAccessRule rule) |
void |
RemoveAudit(IdentityReference identity) |
boolean |
RemoveAuditRule(ActiveDirectoryAuditRule rule) |
void |
RemoveAuditRuleSpecific(ActiveDirectoryAuditRule rule) |
void |
ResetAccessRule(ActiveDirectoryAccessRule rule) |
void |
SetAccessRule(ActiveDirectoryAccessRule rule) |
void |
SetAuditRule(ActiveDirectoryAuditRule rule) |
void |
setJCOInstance(JCObject instance) |
GetAccessRules, GetAuditRulesgetAccessRightType, getAccessRuleType, getAreAccessRulesCanonical, getAreAccessRulesProtected, getAreAuditRulesCanonical, getAreAuditRulesProtected, getAuditRuleType, GetGroup, GetOwner, GetSecurityDescriptorBinaryForm, GetSecurityDescriptorSddlForm, IsSddlConversionSupported, SetAccessRuleProtection, SetAuditRuleProtection, SetGroup, SetOwner, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorSddlForm, SetSecurityDescriptorSddlFormpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ActiveDirectorySecurity()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionOverflowExceptionpublic ActiveDirectorySecurity(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
AccessRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type, Guid objectGuid, Guid inheritedObjectGuid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
AccessRuleFactory in class DirectoryObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic void AddAccessRule(ActiveDirectoryAccessRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void AddAuditRule(ActiveDirectoryAuditRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
AuditRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags, Guid objectGuid, Guid inheritedObjectGuid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
AuditRuleFactory in class DirectoryObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic static ActiveDirectorySecurity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ActiveDirectorySecurity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedActiveDirectorySecurity instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DirectoryObjectSecurityString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DirectoryObjectSecurityString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DirectoryObjectSecurityObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DirectoryObjectSecurityString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DirectoryObjectSecurityJCType representing the CLR Type of the instantiated Classpublic boolean ModifyAccessRule(AccessControlModification modification, AccessRule rule, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
ModifyAccessRule in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic boolean ModifyAuditRule(AccessControlModification modification, AuditRule rule, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
ModifyAuditRule in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void PurgeAccessRules(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException
PurgeAccessRules in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic void PurgeAuditRules(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, SynchronizationLockException
PurgeAuditRules in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic void RemoveAccess(IdentityReference identity, AccessControlType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidEnumArgumentException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic boolean RemoveAccessRule(ActiveDirectoryAccessRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void RemoveAccessRuleSpecific(ActiveDirectoryAccessRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void RemoveAudit(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidEnumArgumentException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic boolean RemoveAuditRule(ActiveDirectoryAuditRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void RemoveAuditRuleSpecific(ActiveDirectoryAuditRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void ResetAccessRule(ActiveDirectoryAccessRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetAccessRule(ActiveDirectoryAccessRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetAuditRule(ActiveDirectoryAuditRule rule) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, LockRecursionException, AbandonedMutexException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionAbandonedMutexExceptionOverflowExceptionSynchronizationLockExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DirectoryObjectSecurity