<PackageReference Include="System.Security.AccessControl" Version="5.0.0-rc.2.20475.5" />

ObjectSecurity

public abstract class ObjectSecurity
using System.Runtime.InteropServices; using System.Security.Principal; namespace System.Security.AccessControl { public abstract class ObjectSecurity { public abstract Type AccessRightType { get; } protected bool AccessRulesModified { get { throw new PlatformNotSupportedException(); } set { throw new PlatformNotSupportedException(); } } public abstract Type AccessRuleType { get; } public bool AreAccessRulesCanonical { get { throw new PlatformNotSupportedException(); } } public bool AreAccessRulesProtected { get { throw new PlatformNotSupportedException(); } } public bool AreAuditRulesCanonical { get { throw new PlatformNotSupportedException(); } } public bool AreAuditRulesProtected { get { throw new PlatformNotSupportedException(); } } protected bool AuditRulesModified { get { throw new PlatformNotSupportedException(); } set { throw new PlatformNotSupportedException(); } } public abstract Type AuditRuleType { get; } protected bool GroupModified { get { throw new PlatformNotSupportedException(); } set { throw new PlatformNotSupportedException(); } } protected bool IsContainer { get { throw new PlatformNotSupportedException(); } } protected bool IsDS { get { throw new PlatformNotSupportedException(); } } protected bool OwnerModified { get { throw new PlatformNotSupportedException(); } set { throw new PlatformNotSupportedException(); } } protected ObjectSecurity() { throw new PlatformNotSupportedException(); } protected ObjectSecurity(bool isContainer, bool isDS) { throw new PlatformNotSupportedException(); } protected ObjectSecurity(CommonSecurityDescriptor securityDescriptor) { throw new PlatformNotSupportedException(); } 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); public IdentityReference GetGroup(Type targetType) { throw new PlatformNotSupportedException(); } public IdentityReference GetOwner(Type targetType) { throw new PlatformNotSupportedException(); } public byte[] GetSecurityDescriptorBinaryForm() { throw new PlatformNotSupportedException(); } public string GetSecurityDescriptorSddlForm(AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } public static bool IsSddlConversionSupported() { throw new PlatformNotSupportedException(); } protected abstract bool ModifyAccess(AccessControlModification modification, AccessRule rule, out bool modified); public virtual bool ModifyAccessRule(AccessControlModification modification, AccessRule rule, out bool modified) { modified = false; throw new PlatformNotSupportedException(); } protected abstract bool ModifyAudit(AccessControlModification modification, AuditRule rule, out bool modified); public virtual bool ModifyAuditRule(AccessControlModification modification, AuditRule rule, out bool modified) { modified = false; throw new PlatformNotSupportedException(); } protected virtual void Persist(bool enableOwnershipPrivilege, string name, AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } protected virtual void Persist(SafeHandle handle, AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } protected virtual void Persist(string name, AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } public virtual void PurgeAccessRules(IdentityReference identity) { throw new PlatformNotSupportedException(); } public virtual void PurgeAuditRules(IdentityReference identity) { throw new PlatformNotSupportedException(); } protected void ReadLock() { throw new PlatformNotSupportedException(); } protected void ReadUnlock() { throw new PlatformNotSupportedException(); } public void SetAccessRuleProtection(bool isProtected, bool preserveInheritance) { throw new PlatformNotSupportedException(); } public void SetAuditRuleProtection(bool isProtected, bool preserveInheritance) { throw new PlatformNotSupportedException(); } public void SetGroup(IdentityReference identity) { throw new PlatformNotSupportedException(); } public void SetOwner(IdentityReference identity) { throw new PlatformNotSupportedException(); } public void SetSecurityDescriptorBinaryForm(byte[] binaryForm) { throw new PlatformNotSupportedException(); } public void SetSecurityDescriptorBinaryForm(byte[] binaryForm, AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } public void SetSecurityDescriptorSddlForm(string sddlForm) { throw new PlatformNotSupportedException(); } public void SetSecurityDescriptorSddlForm(string sddlForm, AccessControlSections includeSections) { throw new PlatformNotSupportedException(); } protected void WriteLock() { throw new PlatformNotSupportedException(); } protected void WriteUnlock() { throw new PlatformNotSupportedException(); } } }