CommonObjectSecurity.GetAuditRules(Boolean, Boolean, Type) メソッド

定義

指定したセキュリティ識別子に関連付けられている監査規則のコレクションを取得します。

public:
 System::Security::AccessControl::AuthorizationRuleCollection ^ GetAuditRules(bool includeExplicit, bool includeInherited, Type ^ targetType);
public System.Security.AccessControl.AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, Type targetType);
member this.GetAuditRules : bool * bool * Type -> System.Security.AccessControl.AuthorizationRuleCollection
Public Function GetAuditRules (includeExplicit As Boolean, includeInherited As Boolean, targetType As Type) As AuthorizationRuleCollection

パラメーター

includeExplicit
Boolean

true を使用して、オブジェクトに対して明示的に設定された監査規則を含めます。

includeInherited
Boolean

true を使用して、継承された監査規則を含めます。

targetType
Type

監査規則を取得するセキュリティ識別子。 これは、 SecurityIdentifier オブジェクトとしてキャストできるオブジェクトである必要があります。

返品

指定した SecurityIdentifier オブジェクトに関連付けられている監査規則のコレクション。

適用対象