CompoundAce(AceFlags, Int32, CompoundAceType, SecurityIdentifier) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CompoundAce 類別的新執行個體。
public:
CompoundAce(System::Security::AccessControl::AceFlags flags, int accessMask, System::Security::AccessControl::CompoundAceType compoundAceType, System::Security::Principal::SecurityIdentifier ^ sid);
public CompoundAce (System.Security.AccessControl.AceFlags flags, int accessMask, System.Security.AccessControl.CompoundAceType compoundAceType, System.Security.Principal.SecurityIdentifier sid);
new System.Security.AccessControl.CompoundAce : System.Security.AccessControl.AceFlags * int * System.Security.AccessControl.CompoundAceType * System.Security.Principal.SecurityIdentifier -> System.Security.AccessControl.CompoundAce
Public Sub New (flags As AceFlags, accessMask As Integer, compoundAceType As CompoundAceType, sid As SecurityIdentifier)
參數
- flags
- AceFlags
包含旗標,這些旗標會指定新存取控制項目 (ACE) 之繼承 (Inheritance)、繼承傳用和稽核條件的相關資訊。
- accessMask
- Int32
ACE 的存取遮罩。
- compoundAceType
- CompoundAceType
CompoundAceType 列舉中的值。
與新 ACE 關聯的 SecurityIdentifier。