public class FileSystemSecurity extends NativeObjectSecurity
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.AccessControl.FileSystemSecurity
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.IO.FileSystem.AccessControl, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.FileSystem.AccessControl
|
static java.lang.String |
className
Qualified class name: System.Security.AccessControl.FileSystemSecurity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileSystemSecurity() |
FileSystemSecurity(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) |
void |
AddAccessRule(FileSystemAccessRule rule) |
void |
AddAuditRule(FileSystemAuditRule rule) |
AuditRule |
AuditRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AuditFlags flags) |
static FileSystemSecurity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileSystemSecurity, 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 |
RemoveAccessRule(FileSystemAccessRule rule) |
void |
RemoveAccessRuleAll(FileSystemAccessRule rule) |
void |
RemoveAccessRuleSpecific(FileSystemAccessRule rule) |
boolean |
RemoveAuditRule(FileSystemAuditRule rule) |
void |
RemoveAuditRuleAll(FileSystemAuditRule rule) |
void |
RemoveAuditRuleSpecific(FileSystemAuditRule rule) |
void |
ResetAccessRule(FileSystemAccessRule rule) |
void |
SetAccessRule(FileSystemAccessRule rule) |
void |
SetAuditRule(FileSystemAuditRule rule) |
void |
setJCOInstance(JCObject instance) |
GetAccessRules, GetAuditRulesgetAccessRightType, getAccessRuleType, getAreAccessRulesCanonical, getAreAccessRulesProtected, getAreAuditRulesCanonical, getAreAuditRulesProtected, getAuditRuleType, GetGroup, GetOwner, GetSecurityDescriptorBinaryForm, GetSecurityDescriptorSddlForm, IsSddlConversionSupported, ModifyAccessRule, ModifyAuditRule, PurgeAccessRules, PurgeAuditRules, 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 FileSystemSecurity()
throws java.lang.Throwable
java.lang.Throwablepublic FileSystemSecurity(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, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
AccessRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionpublic void AddAccessRule(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void AddAuditRule(FileSystemAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
AuditRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionpublic static FileSystemSecurity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileSystemSecurity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileSystemSecurity instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NativeObjectSecurityString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NativeObjectSecurityString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NativeObjectSecurityObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NativeObjectSecurityString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NativeObjectSecurityJCType representing the CLR Type of the instantiated Classpublic boolean RemoveAccessRule(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, UnauthorizedAccessException, OutOfMemoryException, Win32Exception, IndexOutOfRangeException, AccessViolationException, IdentityNotMappedException, SynchronizationLockException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionUnauthorizedAccessExceptionOutOfMemoryExceptionWin32ExceptionIndexOutOfRangeExceptionAccessViolationExceptionIdentityNotMappedExceptionSynchronizationLockExceptionFormatExceptionpublic void RemoveAccessRuleAll(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAccessRuleSpecific(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, UnauthorizedAccessException, OutOfMemoryException, Win32Exception, IndexOutOfRangeException, AccessViolationException, IdentityNotMappedException, SynchronizationLockException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionUnauthorizedAccessExceptionOutOfMemoryExceptionWin32ExceptionIndexOutOfRangeExceptionAccessViolationExceptionIdentityNotMappedExceptionSynchronizationLockExceptionFormatExceptionpublic boolean RemoveAuditRule(FileSystemAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAuditRuleAll(FileSystemAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAuditRuleSpecific(FileSystemAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void ResetAccessRule(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void SetAccessRule(FileSystemAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void SetAuditRule(FileSystemAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NativeObjectSecurity