SecurityMasks Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The SecurityMasks enumeration specifies various security descriptor options.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum SecurityMasks
Inheritance
SecurityMasks
Attributes

Fields

Name Value Description
None 0

No security descriptor flag is set. The value is equal to 0 or 0x0.

Owner 1

The owner security descriptor flag. The value is equal to 1 or 0x1.

Group 2

The primary group security descriptor flag. The value is equal to 2 or 0x2.

Dacl 4

The discretionary access control list (DACL) security descriptor flag. The value is equal to 4 or 0x4.

Sacl 8

The system access control list (SACL) security descriptor flag. The value is equal to 8 or 0x8.

Applies to

Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)