StandardAccessRights Enumeration
Specifies a set of standard access rights that correspond to operations common to most types of securable objects.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] <Flags> <Serializable> Public Enum StandardAccessRights [C#] [Flags] [Serializable] public enum StandardAccessRights [C++] [Flags] [Serializable] __value public enum StandardAccessRights [JScript] public Flags Serializable enum StandardAccessRights
Remarks
The StandardAccessRights class provides access 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.
Note Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. The needs of the application define which set of flags you use.
Members
| Member name | Description | Value |
|---|---|---|
| All | Combines Delete, ReadSecurity, WriteSecurity, ModifyOwner, and Synchronize access. | 2031616 |
| Delete | The right to delete the object. | 65536 |
| Execute | 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. | 131072 |
| ModifyOwner | The right to change the owner in the object's security descriptor. | 524288 |
| None | No access. | 0 |
| Read | The right to read the information in the object's security descriptor. Read is currently defined to equal ReadSecurity. | 131072 |
| ReadSecurity | The right to read the information in the object's security descriptor. | 131072 |
| Required | Combines Delete, ReadSecurity, WriteSecurity, and ModifyOwner access. | 851968 |
| Synchronize | The right to use the object for synchronization. This enables a thread to wait until the object is in a specific state. | 1048576 |
| Write | The right to read the information in the object's security descriptor. Write is currently defined to equal ReadSecurity. | 131072 |
| WriteSecurity | The right to modify the discretionary access control list (DACL) in the security descriptor.
Note 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. | 262144 |
Requirements
Namespace: System.Messaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Messaging (in System.Messaging.dll)
See Also
System.Messaging Namespace | MessageQueueAccessRights | GenericAccessRights | MessageQueue.SetPermissions