Export (0) Print
Expand All
Expand Minimize

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.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

[FlagsAttribute] 
public enum StandardAccessRights
/** @attribute FlagsAttribute() */ 
public enum StandardAccessRights
FlagsAttribute 
public enum StandardAccessRights

 Member nameDescription
AllCombines Delete, ReadSecurity, WriteSecurity, ModifyOwner, and Synchronize access. 
DeleteThe right to delete the object. 
ExecuteThe 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
ModifyOwnerThe right to change the owner in the object's security descriptor. 
NoneNo access. 
ReadThe right to read the information in the object's security descriptor. Read is currently defined to equal ReadSecurity
ReadSecurityThe right to read the information in the object's security descriptor. 
RequiredCombines Delete, ReadSecurity, WriteSecurity, and ModifyOwner access. 
SynchronizeThe right to use the object for synchronization. This enables a thread to wait until the object is in a specific state. 
WriteThe right to read the information in the object's security descriptor. Write is currently defined to equal ReadSecurity
WriteSecurityThe 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.

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.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft