StandardAccessRights StandardAccessRights StandardAccessRights StandardAccessRights Enum

定義

指定標準存取權集合以對應至通用於大部分安全物件型別的作業。Specifies a set of standard access rights that correspond to operations common to most types of securable objects.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class StandardAccessRights
[System.Flags]
[System.Serializable]
public enum StandardAccessRights
type StandardAccessRights = 
Public Enum StandardAccessRights
繼承
StandardAccessRightsStandardAccessRightsStandardAccessRightsStandardAccessRights
屬性

欄位

All All All All 2031616

結合 DeleteReadSecurityWriteSecurityModifyOwnerSynchronize 存取權。Combines Delete, ReadSecurity, WriteSecurity, ModifyOwner, and Synchronize access.

Delete Delete Delete Delete 65536

刪除物件的權限。The right to delete the object.

Execute Execute Execute Execute 131072

讀取物件安全性描述元中資訊的權限。The right to read the information in the object's security descriptor. 在 Windows 2000 和 Windows NT 上,安全性描述元包含安全物件的安全資訊。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 目前定義為等於 ReadSecurityExecute is currently defined to equal ReadSecurity.

ModifyOwner ModifyOwner ModifyOwner ModifyOwner 524288

變更物件安全性描述元中所有人的權限。The right to change the owner in the object's security descriptor.

None None None None 0

沒有存取權。No access.

Read Read Read Read 131072

讀取物件安全性描述元中資訊的權限。The right to read the information in the object's security descriptor. Read 目前定義為等於 ReadSecurityRead is currently defined to equal ReadSecurity.

ReadSecurity ReadSecurity ReadSecurity ReadSecurity 131072

讀取物件安全性描述元中資訊的權限。The right to read the information in the object's security descriptor.

Required Required Required Required 851968

結合 DeleteReadSecurityWriteSecurityModifyOwner 存取權。Combines Delete, ReadSecurity, WriteSecurity, and ModifyOwner access.

Synchronize Synchronize Synchronize 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 Write Write Write 131072

讀取物件安全性描述元中資訊的權限。The right to read the information in the object's security descriptor. Write 目前定義為等於 ReadSecurityWrite is currently defined to equal ReadSecurity.

WriteSecurity WriteSecurity WriteSecurity WriteSecurity 262144

修改安全性描述元中 Discretionary 存取控制清單 (Discretionary Access Control List,DACL) 的權限。The right to modify the discretionary access control list (DACL) in the security descriptor. DACL 可控制對物件的存取。The DACL controls access to the object. 能夠寫入 DACL 提供使用者設定物件安全性的能力。Being able to write to the DACL gives the user the ability to set security for the object.

備註

StandardAccessRights列舉會定義一般作業的許可權, 例如刪除、讀取和寫入。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這是GenericAccessRights列舉對應到大量讀取、寫入或執行功能的兩個列舉的其中一個。StandardAccessRights is one of two enumerations to which the GenericAccessRights enumeration maps extensive read, write, or execute abilities. StandardAccessRights可讓您指定大多數物件的通用許可權, 例如, 刪除物件或讀取安全描述項。StandardAccessRights enables you to specify rights common to most objects, for example, deleting the object or reading a security descriptor.

StandardAccessRightsMessageQueueAccessRights都會提供刪除佇列的成員。Both StandardAccessRights and MessageQueueAccessRights provide a member for deleting a queue. 應用程式的需求會定義您使用的旗標集。The needs of the application define which set of flags you use.

適用於

另請參閱