GenericAccessRights Enumeration

Specifies the generic access rights that correspond to operations specific to a securable object type.

Securable objects use an access mask format in which the four high-order bits specify generic access rights. Each type of securable object maps these bits to a set of its standard and object-specific access rights. For example, a Windows file object maps the Read bit to the ReadControl and Synchronize standard access rights and to the ReadData, ReadExtendedAttributes, and ReadAttributes object-specific access rights.

Other types of objects map the Read bit to whatever set of access rights is appropriate for that type of object.

You can use generic access rights to specify the type of access you need when you are opening a handle to an object. This is typically simpler than specifying all the corresponding standard and specific rights.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum GenericAccessRights

Remarks

Members

All 268,435,456 Specifies all defined access control on the object.
Execute 536,870,912 Specifies access control suitable for executing an action on the object.
Write 1,073,741,824 Specifies access control suitable for updating attributes on the object.
Read -2,147,483,648 Specifies access control suitable for reading the object.

See Also