<PackageReference Include="System.Security.AccessControl" Version="6.0.1" />

ObjectSecurity

public abstract class ObjectSecurity
using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Principal; namespace System.Security.AccessControl { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public abstract class ObjectSecurity { public abstract Type AccessRightType { get; } protected bool AccessRulesModified { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public abstract Type AccessRuleType { get; } public bool AreAccessRulesCanonical { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public bool AreAccessRulesProtected { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public bool AreAuditRulesCanonical { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public bool AreAuditRulesProtected { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected bool AuditRulesModified { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } public abstract Type AuditRuleType { get; } protected bool GroupModified { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected bool IsContainer { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected bool IsDS { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected bool OwnerModified { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected CommonSecurityDescriptor SecurityDescriptor { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } protected ObjectSecurity() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected ObjectSecurity(bool isContainer, bool isDS) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected ObjectSecurity(CommonSecurityDescriptor securityDescriptor) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public abstract AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type); public abstract AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags); [return: System.Runtime.CompilerServices.Nullable(2)] public IdentityReference GetGroup(Type targetType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } [return: System.Runtime.CompilerServices.Nullable(2)] public IdentityReference GetOwner(Type targetType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public byte[] GetSecurityDescriptorBinaryForm() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public string GetSecurityDescriptorSddlForm(AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public static bool IsSddlConversionSupported() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected abstract bool ModifyAccess(AccessControlModification modification, AccessRule rule, out bool modified); public virtual bool ModifyAccessRule(AccessControlModification modification, AccessRule rule, out bool modified) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected abstract bool ModifyAudit(AccessControlModification modification, AuditRule rule, out bool modified); public virtual bool ModifyAuditRule(AccessControlModification modification, AuditRule rule, out bool modified) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected virtual void Persist(bool enableOwnershipPrivilege, string name, AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected virtual void Persist(SafeHandle handle, AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected virtual void Persist(string name, AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public virtual void PurgeAccessRules(IdentityReference identity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public virtual void PurgeAuditRules(IdentityReference identity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected void ReadLock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected void ReadUnlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetAccessRuleProtection(bool isProtected, bool preserveInheritance) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetAuditRuleProtection(bool isProtected, bool preserveInheritance) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetGroup(IdentityReference identity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetOwner(IdentityReference identity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetSecurityDescriptorBinaryForm(byte[] binaryForm) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetSecurityDescriptorBinaryForm(byte[] binaryForm, AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetSecurityDescriptorSddlForm(string sddlForm) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetSecurityDescriptorSddlForm(string sddlForm, AccessControlSections includeSections) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected void WriteLock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } protected void WriteUnlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } }