StandardAccessRights Enum

Definition

Specifies a set of standard access rights that correspond to operations common to most types of securable objects.

This enumeration supports a bitwise combination of its member values.

public enum class StandardAccessRights
[System.Flags]
public enum StandardAccessRights
[<System.Flags>]
type StandardAccessRights = 
Public Enum StandardAccessRights
Inheritance
StandardAccessRights
Attributes

Fields

All 2031616

Combines Delete, ReadSecurity, WriteSecurity, ModifyOwner, and Synchronize access.

Delete 65536

The right to delete the object.

Execute 131072

The right to read the information in the object's security descriptor. On Windows 2000 and Windows NT, the security descriptor contains the security information for a securable object. It identifies the object's owner and primary group. Execute is currently defined to equal ReadSecurity.

ModifyOwner 524288

The right to change the owner in the object's security descriptor.

None 0

No access.

Read 131072

The right to read the information in the object's security descriptor. Read is currently defined to equal ReadSecurity.

ReadSecurity 131072

The right to read the information in the object's security descriptor.

Required 851968

Combines Delete, ReadSecurity, WriteSecurity, and ModifyOwner access.

Synchronize 1048576

The right to use the object for synchronization. This enables a thread to wait until the object is in a specific state.

Write 131072

The right to read the information in the object's security descriptor. Write is currently defined to equal ReadSecurity.

WriteSecurity 262144

The right to modify the discretionary access control list (DACL) in the security descriptor. The DACL controls access to the object. Being able to write to the DACL gives the user the ability to set security for the object.

Remarks

The StandardAccessRights enumeration defines rights for common operations, such as deleting, reading, and writing. The precise meaning of each member is specific to the object type to which it is applied.

StandardAccessRights is one of two enumerations to which the GenericAccessRights enumeration maps extensive read, write, or execute abilities. StandardAccessRights enables you to specify rights common to most objects, for example, deleting the object or reading a security descriptor.

Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. The needs of the application define which set of flags you use.

Applies to

See also