public class CommonSecurityDescriptor extends GenericSecurityDescriptor
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.AccessControl.CommonSecurityDescriptor
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.Security.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.AccessControl
|
static java.lang.String |
className
Qualified class name: System.Security.AccessControl.CommonSecurityDescriptor
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CommonSecurityDescriptor() |
CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
byte[] binaryForm,
int offset) |
CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
ControlFlags flags,
SecurityIdentifier owner,
SecurityIdentifier group,
SystemAcl systemAcl,
DiscretionaryAcl discretionaryAcl) |
CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
RawSecurityDescriptor rawSecurityDescriptor) |
CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
java.lang.String sddlForm) |
CommonSecurityDescriptor(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddDiscretionaryAcl(byte revision,
int trusted) |
void |
AddSystemAcl(byte revision,
int trusted) |
static CommonSecurityDescriptor |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CommonSecurityDescriptor, a cast assert is made to check if types are compatible. |
DiscretionaryAcl |
getDiscretionaryAcl() |
boolean |
getIsContainer() |
boolean |
getIsDiscretionaryAclCanonical() |
boolean |
getIsDS() |
boolean |
getIsSystemAclCanonical() |
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
|
SystemAcl |
getSystemAcl() |
void |
PurgeAccessControl(SecurityIdentifier sid) |
void |
PurgeAudit(SecurityIdentifier sid) |
void |
setDiscretionaryAcl(DiscretionaryAcl DiscretionaryAcl) |
void |
SetDiscretionaryAclProtection(boolean isProtected,
boolean preserveInheritance) |
void |
setJCOInstance(JCObject instance) |
void |
setSystemAcl(SystemAcl SystemAcl) |
void |
SetSystemAclProtection(boolean isProtected,
boolean preserveInheritance) |
GetBinaryForm, GetBinaryForm, getBinaryLength, getControlFlags, getGroup, getOwner, getRevision, GetSddlForm, IsSddlConversionSupported, setGroup, setOwnerpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CommonSecurityDescriptor()
throws java.lang.Throwable
java.lang.Throwablepublic CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
byte[] binaryForm,
int offset)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OverflowException
public CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
ControlFlags flags,
SecurityIdentifier owner,
SecurityIdentifier group,
SystemAcl systemAcl,
DiscretionaryAcl discretionaryAcl)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OverflowException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
RawSecurityDescriptor rawSecurityDescriptor)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
OverflowException,
IndexOutOfRangeException,
PlatformNotSupportedException
public CommonSecurityDescriptor(boolean isContainer,
boolean isDS,
java.lang.String sddlForm)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
Win32Exception,
ArrayTypeMismatchException,
InvalidOperationException,
OverflowException
public CommonSecurityDescriptor(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddDiscretionaryAcl(byte revision,
int trusted)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OverflowException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic void AddSystemAcl(byte revision,
int trusted)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
public static CommonSecurityDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CommonSecurityDescriptor, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCommonSecurityDescriptor instancejava.lang.Throwable - in case of error during cast operationpublic DiscretionaryAcl getDiscretionaryAcl() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsContainer()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsDiscretionaryAclCanonical()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsDS()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSystemAclCanonical()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class GenericSecurityDescriptorString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class GenericSecurityDescriptorString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class GenericSecurityDescriptorObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class GenericSecurityDescriptorString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class GenericSecurityDescriptorJCType representing the CLR Type of the instantiated Classpublic SystemAcl getSystemAcl() throws java.lang.Throwable
java.lang.Throwablepublic void PurgeAccessControl(SecurityIdentifier sid) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void PurgeAudit(SecurityIdentifier sid) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setDiscretionaryAcl(DiscretionaryAcl DiscretionaryAcl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionpublic void SetDiscretionaryAclProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
public void setJCOInstance(JCObject instance)
setJCOInstance in class GenericSecurityDescriptorpublic void setSystemAcl(SystemAcl SystemAcl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void SetSystemAclProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException