| File: System\Security\AccessControl\Enums.cs | Web Access |
| Project: src\runtime\src\libraries\System.Security.AccessControl\src\System.Security.AccessControl.csproj (System.Security.AccessControl) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.InteropServices; namespace System.Security.AccessControl { [Flags] public enum InheritanceFlags { None = 0x00, ContainerInherit = 0x01, ObjectInherit = 0x02, } [Flags] public enum PropagationFlags { None = 0x00, NoPropagateInherit = 0x01, InheritOnly = 0x02, } [Flags] public enum AuditFlags { None = 0x00, Success = 0x01, Failure = 0x02, } [Flags] public enum SecurityInfos { Owner = 0x00000001, Group = 0x00000002, DiscretionaryAcl = 0x00000004, SystemAcl = 0x00000008, } public enum ResourceType { Unknown = 0x00, FileObject = 0x01, Service = 0x02, Printer = 0x03, RegistryKey = 0x04, LMShare = 0x05, KernelObject = 0x06, WindowObject = 0x07, DSObject = 0x08, DSObjectAll = 0x09, ProviderDefined = 0x0A, WmiGuidObject = 0x0B, RegistryWow6432Key = 0x0C, } [Flags] public enum AccessControlSections { None = 0, Audit = 0x1, Access = 0x2, Owner = 0x4, Group = 0x8, All = 0xF } [Flags] public enum AccessControlActions { None = 0, View = 1, Change = 2 } }