ObjectSecurity.GetSecurityDescriptorSddlForm(AccessControlSections) 方法

定義

傳回與這個 ObjectSecurity 物件相關聯的安全性描述元指定區段的安全性描述元定義語言 (SDDL) 表示法。Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.

public:
 System::String ^ GetSecurityDescriptorSddlForm(System::Security::AccessControl::AccessControlSections includeSections);
public string GetSecurityDescriptorSddlForm (System.Security.AccessControl.AccessControlSections includeSections);
member this.GetSecurityDescriptorSddlForm : System.Security.AccessControl.AccessControlSections -> string
Public Function GetSecurityDescriptorSddlForm (includeSections As AccessControlSections) As String

參數

includeSections
AccessControlSections

指定要取得的安全性描述元區段 (存取規則、稽核規則、主要群組、擁有者)。Specifies which sections (access rules, audit rules, primary group, owner) of the security descriptor to get.

傳回

與這個 ObjectSecurity 物件相關聯的安全性描述元指定區段的 SDDL 表示法。The SDDL representation of the specified sections of the security descriptor associated with this ObjectSecurity object.

適用於